Download the PHP package abuseipdb/laravel without Composer

On this page you can find all versions of the php package abuseipdb/laravel. 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 laravel

Total Downloads Latest Stable Version License

AbuseIPDB

Package to easily integrate the AbuseIPDB API with your Laravel project.

Installation

You can install the package via composer:

After installing, you need to add ABUSEIPDB_API_KEY to your .env file.

[!NOTE] Register on abuseipdb.com to get a free API key.

Usage

Methods

All methods are static, and can be called using the AbuseIPDB facade.

Check

Inspect details regarding the IP address queried.

Optional parameters:

Report

Report an IP address to AbuseIPDB. At least one category must be specified.

Optional parameters:

Reports

Get the reports for a single IP address (v4 or v6).

Optional parameters:

Blacklist

Get the AbuseIPDB blacklist.

Optional parameters:

CheckBlock

Checks an entire subnet against the AbuseIPDB database.

Optional parameters:

BulkReport

Report multiple IP addresses to AbuseIPDB in bulk from a csv string.

ClearAddress

Deletes your reports for a specific address from the AbuseIPDB database.

[!NOTE] You can find a complete documentation of the available methods here.

Exceptions

In the event of an error, this package will throw an exception from the Abuseipdb\Exceptions namespace. Those exceptions include the following:

InvalidParameterException: Parameter passed in was invalid for the API.

MissingAPIKeyException: Your API key in your .env file was not found or invalid.

PaymentRequiredException: 402 error was thrown by API, indicating feature needs a higher subscription.

TooManyRequestsException: 429 error was thrown by API, indicating request limit has been exceeded.

UnprocessableContentException: 422 error was thrown by API, indicating request parameters could not be handled, either missing or incorrect.

UnconventionalErrorException: Error code other than 402, 422, or 429 was returned by the API.

Quick start for automatic reporting of suspicious operations

This package supports automatically reporting instances of Symfony's SuspiciousOperationException.

To use this functionality, update your app\Exceptions\Handler.php to something like this:

Now, your project will automatically report to AbuseIPDB when a SuspiciousOperationException is thrown.

Contributing

Please see CONTRIBUTING for more information.

License

This package is licensed under the MIT License.


All versions of laravel with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
laravel/framework Version ^10.0|^11.0|^12.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 abuseipdb/laravel contains the following files

Loading the files please wait ....