dblencowe/post-deploy-actions
Composer 安装命令:
composer require dblencowe/post-deploy-actions
包简介
Migration style post deployment commands for Laravel
README 文档
README
Easily run environment specific post deploy actions for any Laravel project (>= version 5.1)
Installation
Install the package via composer:
$ composer require dblencowe/post-deploy-actions
Register the service provider with your app:
// config/app.php 'providers' => [ ... Dblencowe\PostDeploy\PostDeployServiceProvider::class, ]
Publish vendor files to add the migrations:
php artisan vendor:publish --tag=migrations
Create the database table that tracks run actions:
php artisan migrate
Usage
To create a Post Deployment command use artisans make command. Not specifying an environment will add a global action which will be run on all.
php artisan make:deploy_action name --env=ENVIRONMENT
To run outstanding actions there is an artisan command:
php artisan postdeploy:run
统计信息
- 总下载量: 1.75k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-03-16