laravel-dpd maintained by sergeevpasha
Last update
2024/03/12 17:56
License
Require
- 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 *
Last update
2024/03/01 17:19
License
Require
- 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 *
Last update
2023/12/18 17:08
License
Require
- 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 *
Last update
2023/12/17 09:27
License
Require
- php ^8.0
- guzzlehttp/guzzle ^7.0
- ext-soap *
- ext-json *
- spatie/data-transfer-object ^3.7
- laravel/framework ^8.40.0 || ^9.0.0 || ^10.0.0
- bensampo/laravel-enum >=3.0 <=6.0
Last update
2023/12/17 09:27
License
Require
- 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 *
Last update
2022/06/13 14:30
License
Require
- 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 *
Last update
2022/06/12 19:35
License
Require
- 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 *
Last update
2022/06/12 19:27
License
Require
- php ^8.0
- laravel/framework ^8.40.0
- guzzlehttp/guzzle ^7.0
- bensampo/laravel-enum ^3.0
- spatie/data-transfer-object ^3.7
- ext-soap *
- ext-json *
Last update
2021/10/30 14:48
License
Require
- php ^8.0
- laravel/framework ^8.40.0
- guzzlehttp/guzzle ^7.0
- bensampo/laravel-enum ^3.0
- spatie/data-transfer-object ^2.5
- ext-soap *
- ext-json *
Last update
2021/07/21 11:03
License
Require
- 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 *
Last update
2021/03/28 12:55
License
Require
- 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 *
Last update
2021/03/11 08:41
License
Require
- 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 *
Last update
2021/03/10 21:03
License
Require
- 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 *
Last update
2021/02/10 08:51
License
Require
- 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 *
Last update
2020/09/14 17:17
License
Require
- php ^7.4
- guzzlehttp/guzzle ^7.0
- bensampo/laravel-enum ^3.0
- spatie/data-transfer-object ^2.5
Last update
2020/09/05 02:01
License
Require
- php ^7.4
- guzzlehttp/guzzle ^7.0
- bensampo/laravel-enum ^2.2
- spatie/data-transfer-object ^2.2
Last update
2020/07/06 11:24
License
Require
- php ^7.4
- guzzlehttp/guzzle ^6.0 || ^7.0
- bensampo/laravel-enum ^1.37 || ^2.0
- spatie/data-transfer-object ^2.2
IMPORTANT UPDATE
DPD made lots of changes, so the best way I see it is having DPD API as a service, so starting from now on this package will have only a few basic functionality required for it, consider using it (will be available later) instead.
Laravel DPD API Wrapper
Allows you to:
- Get all DPD cities
- Get all DPD Terminals
- Calculate a delivery
Pre-requirements
You need to get DPD API key, user, login and password. Key can be obtained in your cabinet at https://www.dpd.ru/ols/order/personal/integrationKey.do2
Installation
Configuration
This package has a few configuration values:
After installing, you may just import the 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 countries
If you need to specify a country you need to use one of these codes:
Available services
If you need to specify a service you need to use one of these codes: