hamzaouaghad/proartisan
最新稳定版本:1.0
Composer 安装命令:
composer require hamzaouaghad/proartisan
包简介
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.
关键字:
README 文档
README
A laravel 5 Web Interface for Artisan
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.
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.
This package is made by Hamza Ouaghad, and is licensed under the MIT license.
Install
Via Composer
$ composer require hamzaouaghad/proartisan
Usage
Add the service provider to your list of service providers
'providers' => [ Hamzaouaghad\Proartisan\ProArtisanServiceProvider::class, ];
Then run :
$ composer dumpautoload $ php artisan vendor:publish
The available routes to interact with the package
/proartisan/insert_commands
The use is very basic, you have two input columns,
The first one is supposed to receive the command, and the second one is supposed to receive the arguments.
The format of the command is supposed to be as follows :
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
--force=true
Important
For migrations and other command that might prompt interactive questions, the package uses by default the '--no-interaction' argument.
If you in production, please use '--force'.
Security
If you discover any security related issues, please email ouaghad.hamza@gmail.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 30
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-08-13