https://github.com/spatie/laravel-random-command
Execute a random command
https://github.com/spatie/laravel-random-command
command laravel php
Last synced: 9 months ago
JSON representation
Execute a random command
- Host: GitHub
- URL: https://github.com/spatie/laravel-random-command
- Owner: spatie
- License: mit
- Created: 2020-03-29T16:05:46.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2023-02-10T15:00:22.000Z (almost 3 years ago)
- Last Synced: 2025-04-02T03:43:23.032Z (10 months ago)
- Topics: command, laravel, php
- Language: PHP
- Homepage: https://spatie.be/open-source
- Size: 34.2 KB
- Stars: 39
- Watchers: 3
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
Awesome Lists containing this project
README
[
](https://supportukrainenow.org)
# 🐟 Execute a random artisan command 🐟
[](https://packagist.org/packages/spatie/:package_name)

[](https://packagist.org/packages/spatie/:package_name)
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.
```bash
php artisan random
```
## Support us
[
](https://spatie.be/github-ad-click/laravel-random-command)
We invest a lot of resources into creating [best in class open source packages](https://spatie.be/open-source). You can support us by [buying one of our paid products](https://spatie.be/open-source/support-us).
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](https://spatie.be/about-us). We publish all received postcards on [our virtual postcard wall](https://spatie.be/open-source/postcards).
## Installation
You can install the package via composer:
```bash
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.
## Usage
This is how you can unleash the power of the random command. Just execute it and don't look back!
```bash
php artisan random
```
One more thing. The package will also adds this command to your scheduler and it will run at random times. Enjoy!
## Security
If you discover any security related issues, ~please email freek@spatie.be~ you are on your own.
## Changelog
Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.
## Credits
- [Freek Van der Herten](https://github.com/freekmurze)
- [All Contributors](../../contributors)
## License
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.