Looking to hire Laravel developers? Try LaraJobs

laravel-artisan maintained by lebarbucodeur

Description
Some artisan commands into view for Laravel
Last update
2026/02/22 13:24 (dev-develop)
License
Links
Downloads
14
Tags

Comments
comments powered by Disqus

Laravel Artisan

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.

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.