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: 2024-12-21 19:21:21 UTC


README

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

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