Download the PHP package zwartpet/command-ui without Composer
On this page you can find all versions of the php package zwartpet/command-ui. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download zwartpet/command-ui
More information about zwartpet/command-ui
Files in zwartpet/command-ui
Package command-ui
Short Description Run laravel commands from a web page
License MIT
Homepage https://github.com/zwartpet/laravel-command-ui
Informations about the package command-ui
Laravel Command UI
Add an admin interface where you can run Laravel commands without the need to SSH into the server.
Installation
You can install the package via composer:
Publish the assets
Usage
The UI is available on the /command-ui route, configurable with COMMAND_UI_URI in your .env file.
The route is protected with a Laravel Gate named command-ui which you can customize with COMMAND_UI_GATE in your .env file.
Create the gate by adding the following to your AuthServiceProvider, not adding this will result in a 404 error when visiting the route.
Configuration
This library is plug and play and works out of the box. There are some configuration options available.
The list of commands is filtered by a blacklist or whitelist, by default the blacklist is used.
Publish the configuration to change the lists to your needs.
For all the configuration options see the config file.
Testing
Pest
Pint
PHPStan
Contributing
Please see CONTRIBUTING for details.
Credits
- John Zwarthoed
- All Contributors
License
The MIT License (MIT). Please see License File for more information.