Download the PHP package codeofsolomon/laravel-iiko-cloud-api without Composer
On this page you can find all versions of the php package codeofsolomon/laravel-iiko-cloud-api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download codeofsolomon/laravel-iiko-cloud-api
More information about codeofsolomon/laravel-iiko-cloud-api
Files in codeofsolomon/laravel-iiko-cloud-api
Package laravel-iiko-cloud-api
Short Description Unofficial Laravel SDK for the iikoCloud API
License MIT
Informations about the package laravel-iiko-cloud-api
Laravel IIKO Cloud API
An unofficial Laravel SDK for the IIKO Cloud API, providing a convenient way to integrate your Laravel application with the iikoCloud restaurant management platform.
Requirements
- PHP ^8.2
- Laravel ^10.0 || ^11.0 || ^12.0
- ext-json
- GuzzleHTTP ^7.9
- nyholm/psr7 ^1.8
- psr/http-client ^1.0
- psr/http-message ^2.0
- webmozart/assert ^1.11
Installation
Install the package via Composer:
After installing, publish the configuration file:
This will copy the configuration file to config/iiko-api.php.
Configuration
Open the published config file (config/iiko-api.php) and set your credentials and preferences:
Add the following to your .env file:
Usage
The package registers a service binding and a facade (IikoApi). You can inject the client or use the facade in your application.
Using the Facade
Dependency Injection
Refer to the source code in src/Api for a full list of available methods and their parameters.
Token Management
Access tokens are automatically fetched and cached according to the settings in the configuration file. You generally do not need to manage tokens manually.
Contributing
Contributions are welcome! Please:
- Fork the repository
- Create a new branch for your feature or bugfix
- Write tests and ensure existing tests pass
- Submit a Pull Request with a clear description of your changes
License
This package is open-sourced software licensed under the MIT license.
All versions of laravel-iiko-cloud-api with dependencies
ext-json Version *
guzzlehttp/guzzle Version ^7.9
psr/http-client Version ^1.0
psr/http-message Version ^2.0
illuminate/support Version ^10.0|^11.0|^12.0
webmozart/assert Version ^1.11
nyholm/psr7 Version ^1.8