agathaglobaltech / ag-laravel-sdk
Laravel API wrapper for Annuities Genius
v0.0.25
2024-11-06 10:12 UTC
Requires
- php: ^8.1
- illuminate/contracts: ^9.0|^10.0|^11.0
- spatie/laravel-package-tools: ^1.14.0
Requires (Dev)
- laravel/pint: ^1.0
- nunomaduro/collision: ^6.0
- nunomaduro/larastan: ^2.0.1
- orchestra/testbench: ^7.0
- pestphp/pest: ^1.21
- pestphp/pest-plugin-laravel: ^1.1
- phpstan/extension-installer: ^1.1
- phpstan/phpstan-deprecation-rules: ^1.0
- phpstan/phpstan-phpunit: ^1.0
- phpunit/phpunit: ^9.5
This package is auto-updated.
Last update: 2024-11-06 10:13:49 UTC
README
This is a Laravel API wrapper for Annuities Genius. It provides a simple way to interact with the Annuities Genius API.
Installation
You can install the package via composer:
composer require agathaglobaltech/ag-laravel-sdk
You can publish the config file with:
php artisan vendor:publish --tag="sdk-config"
This is the contents of the published config file:
return [ 'token' => env('ANNUITIES_GENIUS_TOKEN'), 'base_url' => env('ANNUITIES_GENIUS_BASE_URL', 'https://app.annuitiesgenius.com/api'), 'cache' => [ 'enabled' => env('ANNUITIES_GENIUS_CACHE_ENABLED', false), 'hours' => 24, ], ];
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
License
The MIT License (MIT). Please see License File for more information.