A package for Laravel 4 to interact with the CLI
Inspired by oly-ir/web-artisan
If you have any suggestions or improvements feel free to create an issue or create a Pull Request.
Add jones/web-artisan
as a requirement to composer.json
:
{
...
"require": {
...
"jones/web-artisan": "dev-master"
...
},
}
Update composer:
$ php composer.phar update
Add the provider to your app/config/app.php
:
'providers' => array(
...
'Jones\WebArtisan\WebArtisanServiceProvider',
),
Publish package assets:
$ php artisan asset:publish jones/web-artisan
(Optional) Publish package config:
$ php artisan config:publish jones/web-artisan
enable
: Enable WebArtisanbase_url
: Here you can select under which url WebArtisan is accessablepassword
: Select a password to interact with WebArtisanips
: An Array with IP's which can access WebArtisanauth_filter
: If you want to protect WebArtisan with a filter, you can enter the name of it here