benefits-me / php-api-auth
Package to authenticate against Benefits.me API
v0.0.6
2026-03-13 09:30 UTC
Requires
- php: ^8.1
- laravel/framework: ^v11.0.0
Requires (Dev)
- orchestra/testbench: ^9.6
- pestphp/pest: ^3.5
README
Installation
Require Package
composer require benefits-me/php-api-auth
Publish provider and configuration
php artisan vendor:publish --provider="BenefitsMe\ApiAuth\Provider\AuthServiceProvider"
Project Structure
/
├── config/ # Configuration files (e.g. api-auth.php)
├── src/ # Library source code
│ ├── Enums/ # Enum types
│ ├── Exceptions/ # Custom exception classes
│ ├── Provider/ # Service providers (e.g. AuthServiceProvider)
│ └── Services/ # Service classes (e.g. AuthService)
├── tests/ # PEST unit and feature tests
│ ├── Feature/ # Feature tests
│ ├── Unit/ # Unit tests
│ ├── Pest.php # PEST bootstrap file
│ └── TestCase.php # Base test class
├── vendor/ # Composer dependencies (auto-generated)
├── composer.json # Composer configuration file
├── composer.lock # Composer lock file
├── phpunit.xml # PHPUnit configuration
├── README.md # Project documentation
└── LICENSE # License file