lebarbucodeur/laravel-artisan
最新稳定版本:2.0.1
Composer 安装命令:
composer require lebarbucodeur/laravel-artisan
包简介
Some artisan commands into view for Laravel
README 文档
README
lebarbucodeur/laravel-artisan is a Laravel package providing some Artisan commands in a view. Very useful if you put a Laravel application on a mutualised server like OVH.
Requirements
- Laravel 12.x
- PHP 8.2+
Installation
You can install the package via composer:
composer require lebarbucodeur/laravel-artisan
Configuration
To bypass maintenance of the Artisan commands list page, add the following configuration.
Laravel 11+ – In bootstrap/app.php:
->withMiddleware(function (Middleware $middleware): void { $middleware->preventRequestsDuringMaintenance(except: [ 'artisan', 'artisan/*', ]); })
Laravel 9/10 – In app/Http/Middleware/PreventRequestsDuringMaintenance.php:
protected $except = [ '/artisan*', ];
Usage
Make a link to the Artisan list command page
Simply add this to your code :
<a href="{{ route('laravel-artisan.list') }}">Artisan page</a>
Contributing
Since I'm getting some questions about this I want these things to be perfectly clear:
- This is a safe haven for contributions, every (positive) contributon matters!
- You are free (and encouraged) to use anything of this package for your own ideas.
- You can always ask for help or email me directly for any questions.
Please see Contributing File for further details.
Credits
This package is possible because of the effort and time of these people! ✨
Version history
See the dedicated change log
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 14
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-01-13
