File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,11 @@ This bundle provides services to access and consume the Colissimo WS.
10
10
- [ Pickup points] ( https://www.colissimo.entreprise.laposte.fr/sites/default/files/2021-10/WebService-points-retrait_FR.pdf )
11
11
- [ Tracking] ( https://www.colissimo.entreprise.laposte.fr/sites/default/files/2021-08/CDC_WebServiceTrackingTL-v2.1_FR.pdf )
12
12
13
+ ### Requirements
14
+
15
+ - Php >= 7.4
16
+ - Symfony 4, 5
17
+
13
18
## Installation
14
19
15
20
### Pretty simple with [ Composer] ( http://packagist.org ) , run
@@ -79,6 +84,7 @@ class PickupPointsController extends AbstractController
79
84
foreach ($pickupPoints as $pickupPoint) {
80
85
// Get data by identifier.
81
86
// @see PickupPoint to show all identifiers available.
87
+ echo $pickupPoint->get('id'); // 987178
82
88
echo $pickupPoint->get('name'); // ALEX TISSUS
83
89
}
84
90
@@ -195,6 +201,8 @@ class ShippingController extends AbstractController
195
201
196
202
$letter->setAddressee($addressee);
197
203
204
+ $label->setLetter($letter);
205
+
198
206
$shipping = $this->shippingService->call($label);
199
207
200
208
echo $shipping->getParcelNumber(); // AIAOBOIABS
Original file line number Diff line number Diff line change 3
3
"description" : " Simple colissimo REST bundle for Symfony" ,
4
4
"keywords" : [
5
5
" colissimo" ,
6
+ " colissimo-webservices" ,
7
+ " symfony-colissimo" ,
8
+ " colissimo-bundle" ,
6
9
" rest"
7
10
],
8
11
"homepage" : " https://github.com/cleverage/ColissimoBundle" ,
You can’t perform that action at this time.
0 commit comments