laravel-dellin maintained by sergeevpasha
- guzzlehttp/guzzle ^7.0
- ext-soap *
- ext-json *
- spatie/data-transfer-object ^3.7
- bensampo/laravel-enum >=3.0 <=6.0
- laravel/framework ^8.40.0 || ^9.0.0 || ^10.0.0
- php ^8.0
- php ^8.0
- laravel/framework ^8.40.0 || ^9.0.0 || ^10.0.0
- guzzlehttp/guzzle ^7.0
- bensampo/laravel-enum >=3.0 <=6.0
- spatie/data-transfer-object ^3.7
- ext-soap *
- ext-json *
- php ^8.0
- laravel/framework ^8.40.0 || ^9.0.0 || ^10.0.0
- guzzlehttp/guzzle ^7.0
- bensampo/laravel-enum >=3.0 <=6.0
- spatie/data-transfer-object ^3.7
- ext-soap *
- ext-json *
- php ^8.0
- laravel/framework ^8.40.0 || ^9.0.0 || ^10.0.0
- guzzlehttp/guzzle ^7.0
- bensampo/laravel-enum >=3.0 <=6.0
- spatie/data-transfer-object ^3.7
- ext-soap *
- ext-json *
- php ^8.0
- laravel/framework ^8.40.0 || ^9.0.0 || ^10.0.0
- guzzlehttp/guzzle ^7.0
- bensampo/laravel-enum >=3.0 <=6.0
- spatie/data-transfer-object ^3.7
- ext-soap *
- ext-json *
- php ^8.0
- laravel/framework ^8.40.0 || ^9.0.0 || ^10.0.0
- guzzlehttp/guzzle ^7.0
- bensampo/laravel-enum >=3.0 <=6.0
- spatie/data-transfer-object ^3.7
- ext-soap *
- ext-json *
- php ^8.0
- laravel/framework ^8.40.0 || ^9.0.0 || ^10.0.0
- guzzlehttp/guzzle ^7.0
- bensampo/laravel-enum >=3.0 <=6.0
- spatie/data-transfer-object ^3.7
- ext-soap *
- ext-json *
- php ^7.4 || ^8.0
- laravel/framework ^8.40.0 || ^9.0.0 || ^10.0.0
- guzzlehttp/guzzle ^7.0
- bensampo/laravel-enum >=3.0 <=6.0
- spatie/data-transfer-object ^3.7
- ext-soap *
- ext-json *
- php ^8.0
- laravel/framework ^8.40.0 || ^9.0.0
- guzzlehttp/guzzle ^7.0
- bensampo/laravel-enum >=3.0 <=6.0
- spatie/data-transfer-object ^3.7
- ext-soap *
- ext-json *
- php ^8.0
- laravel/framework ^8.40.0 || ^9.0.0
- guzzlehttp/guzzle ^7.0
- bensampo/laravel-enum ^3.0
- spatie/data-transfer-object ^3.7
- ext-soap *
- ext-json *
- php ^8.0
- laravel/framework ^8.40.0 || ^9.0.0
- guzzlehttp/guzzle ^7.0
- bensampo/laravel-enum ^3.0
- spatie/data-transfer-object ^3.7
- ext-soap *
- ext-json *
- php ^8.0
- laravel/framework ^8.40.0 || ^9.0.0
- guzzlehttp/guzzle ^7.0
- bensampo/laravel-enum ^3.0
- spatie/data-transfer-object ^3.7
- ext-soap *
- ext-json *
- php ^8.0
- laravel/framework ^8.27.0
- guzzlehttp/guzzle ^7.0
- bensampo/laravel-enum ^3.0
- spatie/data-transfer-object ^2.5
- ext-soap *
- ext-json *
- php ^8.0
- laravel/framework ^8.27.0
- guzzlehttp/guzzle ^7.0
- bensampo/laravel-enum ^3.0
- spatie/data-transfer-object ^2.5
- ext-soap *
- ext-json *
- php ^8.0
- laravel/framework ^8.27.0
- guzzlehttp/guzzle ^7.0
- bensampo/laravel-enum ^3.0
- spatie/data-transfer-object ^2.5
- ext-soap *
- ext-json *
- php ^8.0
- laravel/framework ^8.27.0
- guzzlehttp/guzzle ^7.0
- bensampo/laravel-enum ^3.0
- spatie/data-transfer-object ^2.5
- ext-soap *
- ext-json *
- php ^8.0
- laravel/framework ^8.27.0
- guzzlehttp/guzzle ^7.0
- bensampo/laravel-enum ^3.0
- spatie/data-transfer-object ^2.5
- ext-soap *
- ext-json *
- php ^8.0
- laravel/framework ^8.27.0
- guzzlehttp/guzzle ^7.0
- bensampo/laravel-enum ^3.0
- spatie/data-transfer-object ^2.5
- ext-soap *
- ext-json *
- php ^8.0
- laravel/framework ^8.27.0
- guzzlehttp/guzzle ^7.0
- bensampo/laravel-enum ^3.0
- spatie/data-transfer-object ^2.5
- ext-soap *
- ext-json *
- php ^8.0
- laravel/framework ^8.27.0
- guzzlehttp/guzzle ^7.0
- bensampo/laravel-enum ^3.0
- spatie/data-transfer-object ^2.5
- ext-soap *
- ext-json *
- php ^7.4
- laravel/framework ^8.27.0
- guzzlehttp/guzzle ^7.0
- bensampo/laravel-enum ^3.0
- spatie/data-transfer-object ^2.5
- ext-soap *
- ext-json *
- php ^7.4
- laravel/framework ^8.27.0
- guzzlehttp/guzzle ^7.0
- bensampo/laravel-enum ^3.0
- spatie/data-transfer-object ^2.5
- ext-soap *
- ext-json *
- php ^7.4
- guzzlehttp/guzzle ^7.0
- bensampo/laravel-enum ^3.0
- spatie/data-transfer-object ^2.5
- php ^7.4
- spatie/data-transfer-object ^2.2
- guzzlehttp/guzzle ^7.0
- bensampo/laravel-enum ^2.2
- php ^7.4
- guzzlehttp/guzzle ^6.0 || ^7.0
- bensampo/laravel-enum ^1.37 || ^2.0
- spatie/data-transfer-object ^2.2
Laravel Dellin API Wrapper
Allows you to:
- Find a City by query string
- Find a Street by City ID and query string
- Find Terminals in the City by City ID
- Calculate a delivery
Pre-requirements
You need to get Dellin API key, login and password. Key can be obtained at https://dev.dellin.ru/registration
Installation
Configuration
This package has a few configuration values:
If you only need to use DellinClient, you may completely skip this configuration. Otherwise, you can use default options and specify some data in .env file:
- DELLIN_KEY
- DELLIN_LOGIN
- DELLIN_PASSWORD
To make full use of predefined routes, you will need to publish config:
Now you can change routes prefix and middleware to whatever you need
Use Case #1
After installing you may just import the client
Firstly let's initialize our client
Now we can use these methods:
Delivery Object
To build a Delivery object you will need to pass an array to fromArray() method just like that:
Available Delivery Types
Available Payment Types
Available Requester Roles
Available Shipping Types
Use Case #2
There are some predefined routes, that will be merged with your routes as well. You may check it by using
php artisan routes:list
It actually exposes the same methods to the routes, so it should be pretty clear on how to use it.
For more information on how to use it, please check out src/ folder.