nickurt / laravel-akismet Goto Github PK
View Code? Open in Web Editor NEWAkismet for Laravel 10.x/11.x
License: MIT License
Akismet for Laravel 10.x/11.x
License: MIT License
If you dependency inject the class it won't set the API details because it's not binding the full namespace: https://github.com/nickurt/laravel-akismet/blob/master/src/ServiceProvider.php#L24
The above should be an alias.
I've just been debugging an issue for a while before realizing that it's submitting blog
as null
and erroring with:
"Missing required field: blog."
All of the values that are being submitted as null
should be empty strings otherwise akismet won't process the request.
Would it please be possible to get a new release pushed for Laravel 10?
installed 1.0.0 on laravel 5.3.
getting error on validating key:
Call to undefined method nickurt\Akismet\Facade::validateKey()
Here https://github.com/nickurt/laravel-akismet/blob/master/src/Akismet.php#L7 you're including a PwnedPasswords package you aren't using in the file and haven't included in your composer.json.
I would like to save the data that's submitted to check for the spam report but at the moment it's private function. It would be nice to add a toArray()
function which would return an array of data that will be sent to check the spam report.
In combination with #6 it would have been useful to get the error straight away by the app throwing an exception, that way can quickly spot/catch invalid API calls to akismet.
Error: Call to undefined method GuzzleHttp\Exception\ConnectException::getResponse()
/Users/erin/Development/akismet/vendor/nickurt/laravel-akismet/src/Akismet.php:131
/Users/erin/Development/akismet/vendor/nickurt/laravel-akismet/src/Akismet.php:105
The code that causes this is the isSpam
here: `return $this->akismetApi->fill($this->akismetData())->isSpam();'
Can this be tagged at 0.0.1? Bit scared about using this in production without a tag... :-)
Greetings, I'm getting these composer errors when trying to install on Laravel 5.2
Problem 1
- Installation request for nickurt/laravel-akismet ^0.0.1 -> satisfiable by nickurt/laravel-akismet[0.0.1].
- Conclusion: remove guzzlehttp/guzzle 6.1.1
- Conclusion: don't install guzzlehttp/guzzle 6.1.1
- nickurt/laravel-akismet 0.0.1 requires guzzlehttp/guzzle 5.* -> satisfiable by guzzlehttp/guzzle[5.0.0, 5.0.1, 5.0.2, 5.0.3, 5.1.0,
5.2.0, 5.3.0].
- Can only install one of: guzzlehttp/guzzle[5.0.0, 6.1.1].
- Can only install one of: guzzlehttp/guzzle[5.0.1, 6.1.1].
- Can only install one of: guzzlehttp/guzzle[5.0.2, 6.1.1].
- Can only install one of: guzzlehttp/guzzle[5.0.3, 6.1.1].
- Can only install one of: guzzlehttp/guzzle[5.1.0, 6.1.1].
- Can only install one of: guzzlehttp/guzzle[5.2.0, 6.1.1].
- Can only install one of: guzzlehttp/guzzle[5.3.0, 6.1.1].
- Installation request for guzzlehttp/guzzle == 6.1.1.0 -> satisfiable by guzzlehttp/guzzle[6.1.1].
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.