Download the PHP package foodticket/jet-connect-client without Composer
On this page you can find all versions of the php package foodticket/jet-connect-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download foodticket/jet-connect-client
More information about foodticket/jet-connect-client
Files in foodticket/jet-connect-client
Package jet-connect-client
Short Description A PHP client to integrate with the JET Connect API
License MIT
Informations about the package jet-connect-client
JET Connect API implementation for Laravel
This package allows you to easily make requests to JustEatTakeaway's JET Connect API.
Requirements
- PHP >= 8.1
- Laravel >= 9.0
Installation
You can install the package via composer:
The package will automatically register itself.
Configuration
To start using the JET Connect API you will need an API key. Add the API key to your project's .env file:
Making requests
itemAvailability
To set an item's availability, you can use the following code:
Create your own request
If you need to create your own request, you can use the following code:
Webhooks
To start receiving webhooks from JET Connect, you need to add the following route the App\Providers\RouteServiceProvider
file:
Security Vulnerabilities
If you discover a security vulnerability within this project, please report this by email to [email protected].
All versions of jet-connect-client with dependencies
guzzlehttp/guzzle Version ^7.0
illuminate/http Version ^8.0|^9.0|^10.0|^11.0
illuminate/support Version ^8.0|^9.0|^10.0|^11.0