Download the PHP package daltcore/laravel-deploy-helper without Composer
On this page you can find all versions of the php package daltcore/laravel-deploy-helper. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download daltcore/laravel-deploy-helper
More information about daltcore/laravel-deploy-helper
Files in daltcore/laravel-deploy-helper
Package laravel-deploy-helper
Short Description Helper for Laravel to deploy from artisan
License MIT
Homepage https://github.com/daltcore/laravel-deploy-helper
Informations about the package laravel-deploy-helper
Laravel Deploy Helper
Compatible with Laravel 5.1, 5.4 and higher.
For Laravel 5.1 use branch 5.1 and tag v0.5.x
LDH is a Laravel package that helps with deploying your website without the usage of FTP.
The LDH packages uses SSH to build a deployment environment on the server for zero-downtime deployments
and rollback functionality.
Everyone is allowed to help getting this package bigger and better! ;-)
Install
Via Composer
In your config/app.php
Publish configuration
Usage
Deploy to server
Deploy full instance to the remote server
Patch to server
Push a simple patch to the remote server (minor changes only)
Rollback one instance
Something went horrably wrong, go back in history
Configuration
stages
In the stages section you have to define your stages information.
git
You can use git's http url with basic auth. Example: https://username:[email protected]/repo/name.git .
You can use git's ssh. Example: [email protected]:repo/name.git
connection
In the connection section you can add your ssh details for deploying
remote.root
Here you can put the root directory where LDH can set up it's directory structure
commands
This is a array with commands that needs to be executed from the /current directory
shared.directories
This is te section with directories that needs to be copied from the previous deploy to the next one
shared.files
The same as with the directories, but then with files.
config.dependencies
Here you can optionally put some dependencies (applications) that you want to use for deploy.
You can use this for checking if everything on the server is setup correctly with the versions.
You may want use 'true' for no version checking, but instead just checking if the application exists.
config.keep
How many 'shadow' copies of the old deploys needs to exist. These come in handy for the rollback feature.
Config example:
Directory structure
LDH deploys the following directory structure on first deploy
As you can see, LDH makes a static link from /current
to /releases/1496845077
.
You you only have to point your vhost to the /current/public
for your Laravel website to work.
License
All versions of laravel-deploy-helper with dependencies
illuminate/support Version *
laravelcollective/remote Version *
composer/semver Version ^1.4