laravel-bosta maintained by abdallahmohammed
Description
laravel-bosta
Authors
Last update
2023/07/31 02:40
(dev-master)
License
Downloads
4
Tags
laravel-bosta
Installation
You can install the package via composer:
composer require abdallahmohammed/laravel-bosta
You can publish and run the migrations with:
You can publish the config file with:
php artisan vendor:publish --provider="LaravelBosta\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 LaravelBosta();
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.