ProArtisan (Production Artisan)
A laravel 5 Web Interface for Artisan
![Software License][ico-license], (*1)
A tiny laravel package that runs artisan commands in production, specifically made for people who do not necessarily have access to SSH and still need to run migrations for instance., (*2)
This package comes with a link to one page, in wish you specify the command you want to run, also the arguments, and receive the output in a textarea in case you ever wanted to copy the content., (*3)
This package is made by Hamza Ouaghad, and is licensed under the MIT license., (*4)
Install
Via Composer, (*5)
``` bash
$ composer require hamzaouaghad/proartisan, (*6)
## Usage
Add the service provider to your list of service providers
```php
'providers' => [
Hamzaouaghad\Proartisan\ProArtisanServiceProvider::class,
];
Then run :, (*7)
``` bash
$ composer dumpautoload
$ php artisan vendor:publish, (*8)
The available routes to interact with the package
```bash
/proartisan/insert_commands
The use is very basic, you have two input columns,, (*9)
The first one is supposed to receive the command, and the second one is supposed to receive the arguments., (*10)
The format of the command is supposed to be as follows :, (*11)
Original command :php artisan mycommand
//The way you should put it in the input field
[Input Field] : mycommand
Example
Original command:
php artisan migrate --database=mydatabase
The way you should insert it :
[Input field] : migrate
[Arguments field] : --database=mydatabase
For the commands with no value such as --force
, please use them as follows, (*12)
--force=true
Important
For migrations and other command that might prompt interactive questions, the package uses by default the '--no-interaction'
argument., (*13)
If you in production, please use '--force'.
, (*14)
Security
If you discover any security related issues, please email ouaghad.hamza@gmail.com instead of using the issue tracker., (*15)
Credits
License
The MIT License (MIT). Please see License File for more information., (*16)