| Package Data | |
|---|---|
| Maintainer Username: | dblencowe |
| Maintainer Contact: | dblencowe@boardbox.io (Dave Blencowe) |
| Package Create Date: | 2017-03-16 |
| Package Last Update: | 2017-03-20 |
| Language: | PHP |
| License: | MIT |
| Last Refreshed: | 2025-11-06 15:12:40 |
| Package Statistics | |
|---|---|
| Total Downloads: | 1,723 |
| Monthly Downloads: | 0 |
| Daily Downloads: | 0 |
| Total Stars: | 1 |
| Total Watchers: | 1 |
| Total Forks: | 0 |
| Total Open Issues: | 0 |
Easily run environment specific post deploy actions for any Laravel project (>= version 5.1)
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
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