atlas-wong / laravel-job-status-viewer
A Laravel Job Status reader
Installs: 89
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Language:HTML
Requires
- php: >=7.0.0
- illuminate/support: 4.2.*|5.*
- imtigger/laravel-job-status: ^0.1.13
This package is not auto-updated.
Last update: 2024-11-15 22:46:57 UTC
README
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'); });