atlas-wong / laravel-job-status-viewer by atlas-wong

A Laravel Job Status reader
89
0
0
Package Data
Maintainer Username: atlas-wong
Maintainer Contact: atlas.wong.times@gmail.com (Atlas Wong)
Package Create Date: 2018-03-01
Package Last Update: 2018-03-05
Language: HTML
License: MIT
Last Refreshed: 2024-11-23 03:24:01
Package Statistics
Total Downloads: 89
Monthly Downloads: 2
Daily Downloads: 0
Total Stars: 0
Total Watchers: 0
Total Forks: 0
Total Open Issues: 0

Laravel 5 Job Status Viewer

Packagist

TL;DR

Job Status Viewer for Laravel 5 (compatible with 4.2 too) and Lumen. Install with composer, create a route to JobStatusViewerController. No public assets, no vendor routes, works with and/or without log rotate.

Depend on ImTigger's laravel-job-status package (https://github.com/imTigger/laravel-job-status)

What ?

Job status viewer for laravel.

Install (Laravel)

Install via composer

composer require atlas-wong/laravel-job-status-viewer

Add Service Provider to config/app.php in providers section

AtlasWong\LaravelJobStatusViewer\LaravelJobStatusViewerServiceProvider::class,

Add a route in your web routes file:

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

Go to http://myapp/job-status-viewer or some other route

Optionally publish laravel-job-status-viewer.php into /config for config customization:

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

Optionally publish status.blade.php into /resources/views/vendor/laravel-job-status-viewer/ for view customization:

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

Install (Lumen)

Install via composer

composer require AtlasWong/laravel-job-status-viewer

Add the following in bootstrap/app.php:

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

Explicitly set the namespace in app/Http/routes.php:

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

Troubleshooting