Skip to content

Commit f708faa

Browse files
committed
Update doc + composer keywords
1 parent 8d3c138 commit f708faa

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ This bundle provides services to access and consume the Colissimo WS.
1010
- [Pickup points](https://www.colissimo.entreprise.laposte.fr/sites/default/files/2021-10/WebService-points-retrait_FR.pdf)
1111
- [Tracking](https://www.colissimo.entreprise.laposte.fr/sites/default/files/2021-08/CDC_WebServiceTrackingTL-v2.1_FR.pdf)
1212

13+
### Requirements
14+
15+
- Php >= 7.4
16+
- Symfony 4, 5
17+
1318
## Installation
1419

1520
### Pretty simple with [Composer](http://packagist.org), run
@@ -79,6 +84,7 @@ class PickupPointsController extends AbstractController
7984
foreach ($pickupPoints as $pickupPoint) {
8085
// Get data by identifier.
8186
// @see PickupPoint to show all identifiers available.
87+
echo $pickupPoint->get('id'); // 987178
8288
echo $pickupPoint->get('name'); // ALEX TISSUS
8389
}
8490

@@ -195,6 +201,8 @@ class ShippingController extends AbstractController
195201

196202
$letter->setAddressee($addressee);
197203

204+
$label->setLetter($letter);
205+
198206
$shipping = $this->shippingService->call($label);
199207

200208
echo $shipping->getParcelNumber(); // AIAOBOIABS

composer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
"description": "Simple colissimo REST bundle for Symfony",
44
"keywords": [
55
"colissimo",
6+
"colissimo-webservices",
7+
"symfony-colissimo",
8+
"colissimo-bundle",
69
"rest"
710
],
811
"homepage": "https://github.com/cleverage/ColissimoBundle",

0 commit comments

Comments
 (0)