PHP code example of reliqarts / laravel-logistiq
1. Go to this page and download the library: Download reliqarts/laravel-logistiq 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/ */
reliqarts / laravel-logistiq example snippets
// ...
use ReliqArts\Logistiq\Tracking\Models\Trackable;
class Order extends Trackable
{
// ...
}
// ...
use ReliqArts\Logistiq\Utility\Eloquent\Model;
use ReliqArts\Logistiq\Tracking\Contracts\Status as LogistiqStatusContract;
class Status extends Model implements LogistiqStatusContract
{
// ...
}
// ...
'event_map' => [
'230c6c51-3b5b-4eea-9ef2-415e4d8fee00' => [ProductShipped::class, ProductMoved::class]
],
// ...
bash
php artisan vendor:publish --tag=reliqarts-logistiq-config