sulaimanmisri/easy-deploy

A simple Laravel package to simplify deployment commands

v1.1.0 2025-02-26 02:54 UTC

This package is auto-updated.

Last update: 2025-06-26 03:43:42 UTC


README

EasyDeploy Image

Easy Deploy for Laravel Application

Easy Deploy is a Laravel package that simplifies deployment automation. It combines common tasks like migrations, cache management, and queue restarts into a single Artisan command, ensuring smooth and efficient deployments with minimal effort

Prerequisites

  • Laravel 9.x or higher
  • PHP 7.3 or higher (Laravel 12 need to use PHP version 8.2 minimum)

Installation

  1. Install the package via Composer
composer require sulaimanmisri/easy-deploy
  1. Run the installation wizard:
php artisan easy-deploy:install

That's it for the installation. Your application is ready to run the script.

Run the deployment automation command:

php artisan easy-deploy:run

Example Integration with CI/CD Pipelines

Simply add the command to your CI/CD pipeline script:

php artisan easy-deploy:run

"What kind of command does this package run for me?"

  • You can check the default commands in this page in this page

Adding a custom command

To add a custom command, edit the commands array in the easy-deploy.php config file:

'commands' => [
    'php artisan migrate --force',
    'php artisan cache:clear',
    'your-custom-command',
],

About the Author

Hi, I'm Sulaiman Misri. Currently I'm working as a Senior Executive in Kuala Lumpur Malaysia. If you find this package useful, feel free to check out my portfolio for more information about my freelance services.