dblencowe/post-deploy-actions

Migration style post deployment commands for Laravel
1,759 1
Install
composer require dblencowe/post-deploy-actions
Latest Version:1.0.2
PHP:>= 7.0
License:MIT
Last Updated:Mar 20, 2017
Links: GitHub  ·  Packagist
Maintainer: dblencowe

Post Deploy Actions for Laravel

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

Related Packages

timokoerber/laravel-one-time-operations

Run operations once after deployment - just like you do it with migrations!

2,384,253 656
asamoahboateng/frankenphp-deploy

FrankenPHP + Traefik Docker deployment scaffolding for Laravel Octane projects.

114 0
mayconbordin/laravel-http-deployer

A tool for automated deployment of Laravel applications using HTTP.

125 1
fadion/maneuver

Easily deploy Laravel projects via FTP or SFTP, using Git for versioning.

9,054 172