Download the PHP package exolnet/laravel-envoy without Composer
On this page you can find all versions of the php package exolnet/laravel-envoy. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download exolnet/laravel-envoy
More information about exolnet/laravel-envoy
Files in exolnet/laravel-envoy
Package laravel-envoy
Short Description Automated deployment template for Laravel Envoy based on Capistrano.
License MIT
Homepage https://github.com/eXolnet/laravel-envoy
Rated 2.00 based on 1 reviews
Informations about the package laravel-envoy
Laravel Envoy Template
This repository contains automated deployment template for Laravel Envoy. The deployment flow is based on Capistrano.
Installation
- Require this package with composer:
composer require --dev exolnet/laravel-envoy:"^1.9"
-
Create a
Envoy.blade.php
on your project's root with the following content:@import('exolnet/laravel-envoy')
For a typical Laravel project, you should have a file looking like:
-
Create your deployment configuration in your Laravel project at
config/deploy.php
. An example config file is provided in this repository atconfig/deploy.php
For a typical Laravel project, you should have a file looking like:
- Enjoy!
Upgrade
Please read UPGRADE-1.x for the procedure to upgrade to version 1.x.
Usage
The following macro are available:
vendor/bin/envoy run setup
: Setup the directory structure and repository on the remote hostvendor/bin/envoy run deploy --commit=abcdef
: Deploy commitabcdef
to the remote hostvendor/bin/envoy run deploy:publish --current
: Run thedeploy:publish
task for the current release on the remote hostvendor/bin/envoy run releases
: List available releases on the remote hostvendor/bin/envoy run rollback [--release=123456]
: Rollback to previous release or to123456
if specified on the remote hostvendor/bin/envoy run backups
: List existing backups on the remote host
You can also use the native Envoy command too:
vendor/bin/envoy tasks
: List available tasks and macrosvendor/bin/envoy ssh
: Connect to the remote host
Note that you can also use the option --env=foo
with any of the previous command to connect to an other remote
define in the configuration.
Contributing
Please see CODE OF CONDUCT for details.
Security
SSH StrictHostKeyChecking
is enforced when using git over ssh. If your remote git repository server does not support SSHFP
/VerifyHostKeyDNS
, you will need to manually create the known_hosts
file on the remote host.
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Alexandre D'Eschambeault
- Tom Rochette
- Patricia Gagnon-Renaud
- Simon Gaudreau
- Martin Blanchette
- All Contributors
License
This code is licensed under the MIT license. Please see the license file for more information.