PHP code example of naxon / laravel-aftership
1. Go to this page and download the library: Download naxon/laravel-aftership 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/ */
naxon / laravel-aftership example snippets
use Naxon\AfterShip\Facades\Couriers;
use Naxon\AfterShip\Facades\LastCheckPoint;
use Naxon\AfterShip\Facades\Notifications;
use Naxon\AfterShip\Facades\Trackings;
$allTrackings = Trackings::all();
$allCouriers = Couriers::all();
$lastCheckPoint = LastCheckPoint::getById('123123');
$notification = Notifications::getById('123123');
bash
php artisan vendor:publish --provider="Naxon\AfterShip\AfterShipServiceProvider" --tag="config"