yaroslawww / laravel-iprosoftware-api
This package is abandoned and no longer maintained.
The author suggests using the think.studio/laravel-iprosoftware-api package instead.
Laravel wrapper for IproSoftware Api
3.1.0
2023-05-29 06:21 UTC
Requires
- php: ^8.1
- illuminate/support: ^9.0|^10.0
- yaroslawww/ipro-software-api-php: ^3.1
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.14
- mockery/mockery: ^1.3
- orchestra/testbench: ^8.0
- phpunit/phpunit: ^10.0
- psalm/plugin-laravel: ^2.7
- vimeo/psalm: ^5.7
README
Note: This package is an wrapper for laravel-iprosoftware-api. All predefined api methods names you can find here
Installation
You can install the package via composer:
composer require think.studio/laravel-iprosoftware-api
Usage
You can use Facade
/** @var \LaravelIproSoftwareApi\IproApiResponse $response */ $response = IproSoftware::getBookingRulesList(); $bookingRules = $response->json();
.env
IPROSOFTWARE_CLIENT_ID="my-client-id" IPROSOFTWARE_CLIENT_SECRET="my-secret-key" IPROSOFTWARE_API_HOST="http://myapp.i-pro3.co.uk"
Config Files
In order to edit the default configuration for this package you may execute:
php artisan vendor:publish --provider="LaravelIproSoftwareApi\ServiceProvider"
Since you will typically need to overwrite the assets every time the package is updated, you may use the --force
flag.
Testing
./vendor/bin/phpunit # or composer test
Security
If you discover any security related issues, please email yaroslav.georgitsa@gmail.com instead of using the issue tracker.
License
The MIT License (MIT). Please see License File for more information.