https://github.com/mathishouis/chronopost-api
A PHP package to make the Chronopost API easier to use.
https://github.com/mathishouis/chronopost-api
api chronopost composer laravel php
Last synced: 3 months ago
JSON representation
A PHP package to make the Chronopost API easier to use.
- Host: GitHub
- URL: https://github.com/mathishouis/chronopost-api
- Owner: mathishouis
- License: mit
- Created: 2021-08-26T17:07:02.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-06-25T14:22:56.000Z (over 3 years ago)
- Last Synced: 2025-07-19T03:34:16.527Z (3 months ago)
- Topics: api, chronopost, composer, laravel, php
- Language: PHP
- Homepage:
- Size: 9.77 KB
- Stars: 10
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Chronopost API
A PHP package to make the Chronopost API easier to use.
## Table of Contents
* [Requirements](#requirements)
* [Installation](#installation)
* [Usage](#usage)
* [Testing](#testing)## Requirements
* PHP 7.3, 8.0 or 9.0
## Installation
```
composer require kozennnn/chronopost-api
```## Usage
The following code return all the available Chronopost Pickup points.
```php
getPickupPointsFromZipCode('44000')); // will print array with all the pickup points```
#The following code return the package tracking informations.
```php
trackPackage('FD633119313NZ')); // will print array with the package tracking informations.```
## Testing
```
php tests/ChronopostAPITest.php
```