lebarbucodeur/laravel-artisan 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

lebarbucodeur/laravel-artisan

最新稳定版本:2.0.1

Composer 安装命令:

composer require lebarbucodeur/laravel-artisan

包简介

Some artisan commands into view for Laravel

README 文档

README

Latest Version on Packagist Software License Total Downloads

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.

Screenshot

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

GitHub 信息

  • Stars: 2
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-01-13

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固