atlas-wong/laravel-job-status-viewer
Composer 安装命令:
composer require atlas-wong/laravel-job-status-viewer
包简介
A Laravel Job Status reader
README 文档
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'); });
Troubleshooting
统计信息
- 总下载量: 90
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-03-01