almesery / laravel-bosta
laravel-bosta
Fund package maintenance!
almesery
Requires
- php: ^7.4|^8.0
- ext-curl: *
- ext-json: *
- guzzlehttp/guzzle: ^7.2
- illuminate/contracts: ^7.0
- spatie/laravel-package-tools: ^1.1
Requires (Dev)
- orchestra/testbench: ^5.0
- phpunit/phpunit: ^9.3
- spatie/laravel-ray: ^1.9
- vimeo/psalm: ^4.4
This package is auto-updated.
Last update: 2024-11-13 13:19:59 UTC
README
Installation
You can install the package via composer:
composer require almesery/laravel-bosta
You can publish and run the migrations with:
You can publish the config file with:
php artisan vendor:publish --provider="Almesery\Bosta\BostaServiceProvider" --tag="laravel-bosta-config"
This is the contents of the published config file:
return [ 'stage' => [ 'bosta_api_key' => env('STAGE_BOSTA_API_KEY', null), 'base_url' => env('STAGE_BASE_URL', 'https://stg-app.bosta.co'), ], 'production' => [ 'bosta_api_key' => env('PRODUCTION_BOSTA_API_KEY', null), 'base_url' => env('PRODUCTION_BASE_URL', 'https://app.bosta.co'), ], ];
Usage
$bosta = new Almesery\Bosta(); echo $bosta->getDeliveries();
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.