emir/laravel-webartisan

Web artisan allows to run artisan console commands using a browser

1.0.0 2015-08-28 07:17 UTC

This package is not auto-updated.

Last update: 2021-01-22 22:38:01 UTC


README

Web artisan allows to run artisan console commands using a browser. Laravel port for samdark/yii2-webshell.

screenshot.png

Installation

Require this package with composer:

composer require emir/laravel-webartisan

After updating composer, because of the security reasons you need to check environment is local. So you can add the ServiceProvider to app/Providers/AppServiceProvider.php like this:

public function register()
{
	if ($this->app->environment() == 'local') {
		$this->app->register('Emir\Webartisan\WebartisanServiceProvider');
	}
}

Copy the package assets to your local with the publish command:

php artisan vendor:publish --provider="Emir\Webartisan\WebartisanServiceProvider"

Usage

After installation you will be able to access web artisan in your browser using the URL:

http://localhost/path/to/artisan

License

MIT License