Download the PHP package andrey-helldar/blacklist-server without Composer

On this page you can find all versions of the php package andrey-helldar/blacklist-server. 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 blacklist-server

Blacklist server

blacklist server

StyleCI Total Downloads Latest Stable Version Latest Unstable Version

Content

Installation

To get the latest version of Laravel Blacklist Server, simply require the project using Composer:

Instead, you may of course manually update your require block and run composer update if you so choose:

Now, you can also publish the config file to change implementations (ie. interface to specific class):

Using

First look at the config.

After installation, your application will accept incoming requests for the creation and verification of spammers in stop lists. To do this, you can use packet andrey-helldar/blacklist-client or simply send a POST or GET request to address https://<your-site.com>/api/blacklist, passing the necessary parameters:

field required comment
type sometimes available is: "email", "url", "ip", "phone"
value yes string

In order for the server part to be able to add or check spammers on its own, you can install package andrey-helldar/blacklist-client on it or go the more complicated way using facades:

However, we recommend using the client.

store

When sending a POST request to the address of server https://<your-site>/api/blacklist with the correct data. Foe example:

It will return a JSON object:

If the data being sent is filled incorrectly, the server will return an error with code 400 and the following JSON object:

For example:

exists

If the requested data is not found in the database, the site will return a 200 code:

If the requested data is found in the database, the site will return the code 423 (Locked):

If the data being sent is filled incorrectly, the server will return an error with code 400 and the following JSON object. For example:

License

This package is released under the MIT License.


All versions of blacklist-server with dependencies

PHP Build Version
Package Version
Requires php Version ^7.1.3|^8.0
ext-json Version *
andrey-helldar/api-response Version ^4.3
andrey-helldar/blacklist-core Version ^2.0
illuminate/contracts Version ^5.6|^6.0|^7.0|^8.0
illuminate/database Version ^5.6|^6.0|^7.0|^8.0
illuminate/support Version ^5.6|^6.0|^7.0|^8.0
illuminate/validation Version ^5.6|^6.0|^7.0|^8.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 andrey-helldar/blacklist-server contains the following files

Loading the files please wait ....