Laravel Deployer is a lightweight wrapper of Deployer.org giving Artisan the power of zero-downtime deployment. Runing php artisan deploy:init your.hostname.com -a, will set you up with everything without asking you any questions. Using the -f option will optimize the configuration file for servers that are maintained by Laravel Forge. Before starting you first deployment, you should go check your config/deploy.php file to make sure it suits your deployment flow. For example, the local strategy calls the build hook in a task that is ran locally whereas the basic strategy calls the build hook directly on the host. When defining a host, you need to provide it with a hostname. It can be the domain of your server or its IP address. You also need to provide a deploy_path to your host which tells Laravel Deployer where your application should be deployed within your host.
Features
- Simple setup process
- Zero downtime deployments
- Ready-to-use tasks for Laravel
- Choose your deployment strategy
- Agentless, it's just SSH
- Something went wrong? Rollback to the previous release