PHP code example of anmartini / poste-track
1. Go to this page and download the library: Download anmartini/poste-track library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
anmartini / poste-track example snippets
return [
/*
|--------------------------------------------------------------------------
| Tries
|--------------------------------------------------------------------------
|
| This value is the number of times the request will be retried
| with a sleep time of 1 second between tries. This is needed
| to pass the reCAPTCHA validation.
|
*/
'tries' => env('POSTE_TRACK_TRIES', 3),
];
$tracking = PosteTrack::track('CODE');
bash
php artisan vendor:publish --provider="Anmartini\PosteTrack\PosteTrackServiceProvider" --tag="config"