Download the PHP package micheledamo/laravel-web-artisan without Composer
On this page you can find all versions of the php package micheledamo/laravel-web-artisan. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download micheledamo/laravel-web-artisan
More information about micheledamo/laravel-web-artisan
Files in micheledamo/laravel-web-artisan
Package laravel-web-artisan
Short Description This package allows you to execute artisan commands in a simple way using the browser window. If you don't have SSH access to the hosting platform where your Laravel site is hosted, this solution allows you to run commands like "php artisan migrate".
License MIT
Homepage https://github.com/micheledamo/laravel-web-artisan
Informations about the package laravel-web-artisan
This package allows you to execute Artisan commands in a simple way using the browser window. If you don't have SSH access to the hosting platform where your Laravel site is hosted, this solution allows you to run commands like "php artisan migrate" in a virtual shell on the browser.
This package requires Laravel 5.8 or higher.
Installation
Require this package with Composer on your Laravel project.
Laravel uses Package Auto-Discovery, so you don't need to manually add the ServiceProvider.
The Web Artisan window will be enabled when WEBARTISAN_ENABLED is true, on your .env project file.
The following line must be added in the .env file of your Laravel project to enable the Web Artisan window, otherwise it is disabled by default.
By default Laravel Web Artisan needs an authentication before you can run commands into the window terminal.
We recommend to always use authentication to prevent commands from being executed by anyone when the window is enabled.
If you want to use Web Artisan without authentication you can change use_authentication to false in the config/webartisan.php config file.
In this case, you should publish the config/webartisan.php config file with:
and than you can edit it.
Usage
Simply, in any page of your site, if the Web Artisan is enabled, you will see a terminal window appear at the bottom of the page.
Authenticate yourself with the credentials set in the .env file, if you use Web Artisan with authentication, and run any type of Artisan command, even custom ones, as in a terminal shell: et voilà, the magic!
Change log
Please see CHANGELOG for more information on what has changed recently.
Credits
License
The MIT License (MIT). Please see License File for more information.