Menu

Post image 1
Post image 2
1 / 2
0

Zero Downtime Laravel Deployments Made Easy with phantomshift/laravel-deployer

DEV Community·Hussain·20 days ago
#j21Hd78J
Reading 0:00
15s threshold
Cover image for Zero Downtime Laravel Deployments Made Easy with phantomshift/laravel-deployer

Hussain

Deploying Laravel without downtime is painful. 502 errors, failed migrations, manual rollback - we've all been there.

So I built phantomshift/laravel-deployer - a Blue-Green deployment package for Laravel.

Why?

  1. Zero Downtime: Switches between 'blue' and 'green' releases. Users see nothing.
  2. Auto Rollback: Deployment fails? It auto-reverts to last working version.
  3. Laravel Native: Works with Laravel 10, 11, 12. Uses Artisan commands.

Install


bash
composer require phantomshift/laravel-deployer
php artisan deployer:install

Enter fullscreen mode Exit fullscreen mode

Read More