🚀 Zero-downtime deployment out-of-the-box
Looking for the old Laravel Deployer? Click here.
Laravel Deployer is no longer the package it used to be. Since that package was created, Deployer has become better and better at integrating with Laravel to the point that I will now put my efforts into maintaining Deployer directly for Laravel users rather than mirroring its changes on a different repo after each release. You can read more about this decision here.
I’ve written a series of tutorials to help Laravel users deploy their application using Deployer directly.
Deploy your Laravel app from scratch.
If you prefer a quick guide to get started with Deployer 7, I’ve added one for you below.
composer require deployer/deployer:^7.0
deploy.phpfile of this repository to the root of your project.
deploy.phpwith your own server details.
dep deployto deploy once.
dep sshto connect to your server via SSH.
cp .env.example .env && php artisan key:generateto initialize your
vim .envand update your production environment variables.
dep deployonce more now that your
.envfile is all set up.