PHP code example of skycoder / laravel-phantom
1. Go to this page and download the library: Download skycoder/laravel-phantom 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/ */
skycoder / laravel-phantom example snippets
Route::middleware(['web', 'auth', 'can:view-phantom'])
->group(base_path('vendor/skycoder/laravel-phantom/routes/phantom.php'));
use Skycoder\Phantom\Facades\Phantom;
Phantom::phantomTimelineUrl('orders', 42);
// -> https://yourdomain.com/phantom/table/orders/records/42