agathaglobaltech/ag-laravel-sdk

Laravel API wrapper for Annuities Genius

v0.0.25 2024-11-06 10:12 UTC

README

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

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.