Download the PHP package silentz/akismet without Composer

On this page you can find all versions of the php package silentz/akismet. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package akismet

Use Akismet to Stop Spam

Latest Version

This package provides an easy way stop submission spam via Akismet.

Requirements

Installation

You can install this package via composer using:

The package will automatically register itself.

Migration from < 3+

Previous versions of Akismet stored the spam in a serialized file. Version 3 stores it in the same format as Statamic form submissions. The previous spam needs to be converted to the new format/naming. To do so, run two commmands:

Those two commands will unserialize the data and add the correct extension (.yaml) to any spam that needs it.

Configuration

.env

Set your Akismet API Key in your .env file. You can get it from: https://akismet.com/account/.

Permission

In order to manage your spam, you'll either have to be a super user or have the manage spam permission:

[Permission

Settings

Publish the config:

This will publish a file akismet.php in your config directory with the following contents:

You can also update your settings from the config page: Configuration

Usage

Create your Statamic forms as usual. When a submission is created it is checked for spam.

If it is spam, it gets put into that form's spam queue.

Spam Queues

From there you can delete it, or mark it ham (not spam). Marking it as ham it will put it back into the normal submissions and tell Akismet that it is not spam (to help with learning).

Mark as Ham

If you find a submission that is spam, you can mark it as spam. This will put it in the spam queue and tell Akismet it is spam.

Mark As Spam

Both of those can be done one at a time, or in bulk via the bulk selection.

Testing Akismet Locally

To confirm Akismet is working, use either [email protected] as the email on a test submission, or viagra-test-123 as the name. Submissions with that in it will always be flagged as spam.

Testing

Run the tests with:

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

License

This is commercial software. You may use the package for your sites. Each site requires it's own license.


All versions of akismet with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
edalzell/forma Version ^3.0
laravel/framework Version ^10.0 || ^11.0
nickurt/laravel-akismet Version ^1.8
pixelfear/composer-dist-plugin Version ^0.1.4
statamic/cms Version ^5.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package silentz/akismet contains the following files

Loading the files please wait ....