PHPackages                             eman1986/larakismet - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. eman1986/larakismet

Abandoned → [nickurt/laravel-akismet](/?search=nickurt%2Flaravel-akismet)ArchivedLibrary[Utility &amp; Helpers](/categories/utility)

eman1986/larakismet
===================

Akismet Client for Laravel 5

1.0.3(10y ago)0331MITPHPPHP &gt;=5.4.0

Since May 26Pushed 10y agoCompare

[ Source](https://github.com/eman1986/larakismet)[ Packagist](https://packagist.org/packages/eman1986/larakismet)[ Docs](http://emandevelopmentdesign.com)[ RSS](/packages/eman1986-larakismet/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (2)Versions (5)Used By (0)

Larakismet
==========

[](#larakismet)

[![Total Downloads](https://camo.githubusercontent.com/7eff2b23b59bcd36486f25f56263384679598f2f91ee2d1dc708faff7b11f93f/68747470733a2f2f706f7365722e707567782e6f72672f656d616e313938362f6c6172616b69736d65742f642f746f74616c2e737667)](https://packagist.org/packages/eman1986/larakismet)[![Latest Stable Version](https://camo.githubusercontent.com/02de942307e9abac5646e3935a6aeac9339b002eda832a36593e291814a2013e/68747470733a2f2f706f7365722e707567782e6f72672f656d616e313938362f6c6172616b69736d65742f762f737461626c652e737667)](https://packagist.org/packages/eman1986/larakismet)[![Latest Unstable Version](https://camo.githubusercontent.com/3c3e6a612321537291942b6e7aaaecf3975e92baf1fd22c739fa6a7f621ba384/68747470733a2f2f706f7365722e707567782e6f72672f656d616e313938362f6c6172616b69736d65742f762f756e737461626c652e737667)](https://packagist.org/packages/eman1986/larakismet)[![License](https://camo.githubusercontent.com/519162cc88011de49f67635bf4b63e81761db72ece11a5812c1983ca3c4fe22f/68747470733a2f2f706f7365722e707567782e6f72672f656d616e313938362f6c6172616b69736d65742f6c6963656e73652e737667)](https://packagist.org/packages/eman1986/larakismet)

Akismet Client for Laravel 5.

\#Installation

simply include this library to your app's composer.json file in the request block:

```
"require": {
    "eman1986/larakismet": "dev-master",
}

```

Once you have the package loaded into your application's file system, open the config/app.php file and add the following line to the 'providers' array:

```
'larakismet\ServiceProviders\AkismetServiceProvider'

```

Add the facade of this package to the $aliases array.

```
'Akismet' => 'larakismet\Facades\Akismet'

```

run the following command in your terminal:

```
php artisan vendor:publish

```

This will create a config file for you where you can enter in the API Key (which if you don't have one, you'll need one, visit ) and enter in the address of your blog. You can also setup a debug mode to just test out the akismet API.

\#What's Next?

After everything is all configured, you can now use the code in your application.

\##checkSpam()

This will allow you to run a check on a comment post and ensure its not spam.

Akismet likes to have as much information as possible to properly determine if something is indeed Spam.

If you were to read the Akismet API on this, they ask for a lot of things but at a minimal you'll need the following set:

```
\Akismet::setCommentAuthor('John Doe');
\Akismet::setCommentAuthorEmail('email@example.com');
\Akismet::setPermalink('http://somesite.com/blog/sample-entry');
\Akismet::setCommentContent('Some content from form.');
\Akismet::checkSpam();

```

If you check out the source code you can see the other options available to zero in on the spammer, the Akismet API Guide is also a good reference..

\##reportSpam()

You can help Akismet tackle spam by reporting it to them, this requires a smaller set of dat compared to the checkSpam() method.

```
\Akismet::setCommentAuthor('John Doe');
\Akismet::setCommentAuthorEmail('email@example.com');
\Akismet::setPermalink('http://somesite.com/blog/sample-entry');
\Akismet::setCommentContent('Some content from form.');
\Akismet::reportSpam();

```

\##reportHam()

You can also report false positives to Akismet by doing the following:

```
\Akismet::setCommentAuthor('John Doe');
\Akismet::setCommentAuthorEmail('email@example.com');
\Akismet::setPermalink('http://somesite.com/blog/sample-entry');
\Akismet::setCommentContent('Some content from form.');
\Akismet::reportHam();

```

ReportSpam() &amp; reportHam() will accept the same parameters. Using these two methods will help make the web a better place for all of us.

\#Questions?

If you need help, please let me know and I'll be happy to assist.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 84.6% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

4

Last Release

4009d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/96b5243c34bdd31f20345e5963f22d733c0b985b6b24a193eebcaeed968d7611?d=identicon)[eman-development-design](/maintainers/eman-development-design)

---

Top Contributors

[![elomonaco](https://avatars.githubusercontent.com/u/60661881?v=4)](https://github.com/elomonaco "elomonaco (11 commits)")[![nickurt](https://avatars.githubusercontent.com/u/5840084?v=4)](https://github.com/nickurt "nickurt (2 commits)")

---

Tags

laravelspamAkismet

### Embed Badge

![Health badge](/badges/eman1986-larakismet/health.svg)

```
[![Health](https://phpackages.com/badges/eman1986-larakismet/health.svg)](https://phpackages.com/packages/eman1986-larakismet)
```

###  Alternatives

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M687](/packages/barryvdh-laravel-ide-helper)[interaction-design-foundation/laravel-geoip

Support for multiple Geographical Location services.

17221.0k3](/packages/interaction-design-foundation-laravel-geoip)[nedwors/navigator

A Laravel package to ease defining navigation menus

433.1k](/packages/nedwors-navigator)[xefi/faker-php-laravel

Faker php integration with laravel

1915.1k](/packages/xefi-faker-php-laravel)[dcblogdev/laravel-junie

Install pre-configured guides for Jetbrains Junie

392.5k](/packages/dcblogdev-laravel-junie)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
