PHP code example of atlas-wong / laravel-job-status-viewer

1. Go to this page and download the library: Download atlas-wong/laravel-job-status-viewer 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/ */

    

atlas-wong / laravel-job-status-viewer example snippets


AtlasWong\LaravelJobStatusViewer\LaravelJobStatusViewerServiceProvider::class,
 
Route::get('job-status-viewer', '\AtlasWong\LaravelJobStatusViewer\JobStatusViewerController@index');

$app->register(\AtlasWong\LaravelJobStatusViewer\LaravelJobStatusViewerServiceProvider::class);

$app->group(['namespace' => '\AtlasWong\LaravelJobStatusViewer'], function() use ($app) {
    $app->get('job-status-viewer', 'JobStatusViewerController@index');
});

php artisan vendor:publish --provider="AtlasWong\LaravelJobStatusViewer\LaravelJobStatusViewerServiceProvider" --tag=config

php artisan vendor:publish --provider="AtlasWong\LaravelJobStatusViewer\LaravelJobStatusViewerServiceProvider" --tag=views