Download the PHP package ubereats/php-sdk without Composer
On this page you can find all versions of the php package ubereats/php-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package php-sdk
UberEats PHP SDK
A modern PHP SDK for the UberEats API, supporting PHP 7.4 and above.
Features
- ๐ Modern PHP 7.4+ with strict typing
- ๐ Type-safe request/response objects
- ๐งช Comprehensive test coverage
- ๐ Detailed documentation
- ๐ Webhook support
- ๐ ๏ธ PSR-3 logging support
- ๐ฏ PSR-12 coding standards
- ๐ Static analysis with PHPStan level max
Requirements
- PHP 7.4 or higher
- Composer
- Guzzle HTTP Client
- PSR-3 Logger (optional)
Documentation
- Getting Started
- Working with Orders
- Working with Stores
- Working with Deliveries
- Integration Features
Installation
Basic Usage
Available Methods
Authentication
authenticate(string $clientId, string $clientSecret): AccessToken
Orders
getOrder(string $orderId): OrderacceptOrder(string $orderId, AcceptOrderRequest $request): OrderdenyOrder(string $orderId, DenyOrderRequest $request): OrdercancelOrder(string $orderId, CancelOrderRequest $request): Order
Stores
getStore(string $storeId): StoregetStores(): StoreCollection
Webhook Handling
Error Handling
The SDK throws UberEatsException for any API errors. Each exception includes:
- HTTP status code
- Error message
- Original response data
Development
Testing
Static Analysis
Code Style
Code Coverage
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Contributing
- Fork the repository
- Create a feature branch
- Commit your changes
- Push to the branch
- Create a Pull Request
Changelog
Please see CHANGELOG.md for more information on what has changed recently.
Credits
- BEN MECHA Ali
- All Contributors
License
This package is licensed under the MIT License. See the LICENSE file for details.
All versions of php-sdk with dependencies
PHP Build Version
Package Version
Requires
php Version
^7.4 || ^8.0
guzzlehttp/guzzle Version ^7.4
psr/log Version ^1.1 || ^2.0 || ^3.0
symfony/serializer Version ^5.4 || ^6.0|| ^7.0
symfony/property-access Version ^5.4 || ^6.0|| ^7.0
symfony/validator Version ^5.4 || ^6.0|| ^7.0
guzzlehttp/guzzle Version ^7.4
psr/log Version ^1.1 || ^2.0 || ^3.0
symfony/serializer Version ^5.4 || ^6.0|| ^7.0
symfony/property-access Version ^5.4 || ^6.0|| ^7.0
symfony/validator Version ^5.4 || ^6.0|| ^7.0
The package ubereats/php-sdk contains the following files
Loading the files please wait ...