Execute a random Laravel command

1.4.3 2023-02-10 14:59 UTC

This package is auto-updated.

Last update: 2024-07-10 17:48:49 UTC


🐟 Execute a random artisan command 🐟

Latest Version on Packagist Check & fix styling Total Downloads

Aren't you tired of having to think about which artisan command to execute? This package takes that pain away. It provides a random command that will pick a random command and execute it.

php artisan random

Support us

We invest a lot of resources into creating best in class open source packages. You can support us by buying one of our paid products.

We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on our contact page. We publish all received postcards on our virtual postcard wall.


You can install the package via composer:

composer require spatie/laravel-random-command

We don't recommend installing this in your production environment. Or your local environment. In fact it might be best if you don't install this at all.


This is how you can unleash the power of the random command. Just execute it and don't look back!

php artisan random

One more thing. The package will also adds this command to your scheduler and it will run at random times. Enjoy!


If you discover any security related issues, please email you are on your own.


Please see CHANGELOG for more information on what has changed recently.



The MIT License (MIT). Please see License File for more information.