An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

[](https://supportukrainenow.org)

# 🐟 Execute a random artisan command 🐟

[![Latest Version on Packagist](https://img.shields.io/packagist/v/spatie/laravel-random-command.svg?style=flat-square)](https://packagist.org/packages/spatie/:package_name)
![Check & fix styling](https://github.com/spatie/laravel-random-command/workflows/Check%20&%20fix%20styling/badge.svg)
[![Total Downloads](https://img.shields.io/packagist/dt/spatie/laravel-random-command.svg?style=flat-square)](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.