wedevbr/idwall-laravel

ID Wall API Wrapper for Laravel

v1.4.0-beta 2023-10-07 01:43 UTC

README

Latest Version on Packagist Total Downloads GitHub Actions

This is an unofficial wrapper for ID Wall API.

Requirements

  • PHP >= 8.1
  • Laravel >= 9.x

Installation

You can install the package via composer:

composer require wedevbr/idwall-laravel

After install, you can publish your config files:

php artisan vendor:publish --provider="WeDevBr\IdWall\IdWallServiceProvider"

Usage

First you need to set up your credentials. Define yours IDWALL_AUTH_TOKEN and IDWALL_API_URL

Then, finally use:

$idWallReport = \IdWall::clientReport();
$reports = $idWallReport->getAllReports();
// Do your logic

Testing

vendor/bin/pest

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 adeildo.amorim@wedev.software instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

Laravel Package Boilerplate

This package was generated using the Laravel Package Boilerplate.