emir / laravel-webartisan by emir

Web artisan allows to run artisan console commands using a browser
433
35
6
Package Data
Maintainer Username: emir
Maintainer Contact: emirkarsiyakali@gmail.com (Emir Karşıyakalı)
Package Create Date: 2015-08-09
Package Last Update: 2015-08-28
Language: CSS
License: MIT
Last Refreshed: 2024-04-12 03:10:34
Package Statistics
Total Downloads: 433
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 35
Total Watchers: 6
Total Forks: 4
Total Open Issues: 3

Laravel 5 Web Artisan

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