tobischulz/artisan-forge-deploy

A Laravel artisan command to easily deploy your code to a laravel forge server.

3.0.0 2022-12-01 13:03 UTC

This package is auto-updated.

Last update: 2024-05-10 10:02:23 UTC


README

Software License Latest Version on Packagist Total Downloads

This will give you the power to deploy your Laravel project on your configured Forge server site with this needful artisan command. This package requires PHP 7 and Laravel 5.7 or higher.

php artisan forge:deploy

readme/artisan-forge-deploy-demo.gif

Installation

Pull this package in using composer:

Use the 3.0 for Laravel 9

composer require --dev tobischulz/artisan-forge-deploy "^3.0"

Use the 2.0 for Laravel 7 or 8

composer require --dev tobischulz/artisan-forge-deploy "^2.0"

Use 1.0 for Laravel 5.7 or above

composer require --dev tobischulz/artisan-forge-deploy "^1.0"

Next, add the Key FORGE_DEPLOY_URL to your .env file and copy the Deployment Trigger URL from your forge site details page.

FORGE_DEPLOY_URL=

readme/artisan-forge-deploy-env.png

You´re ready to go to fire php artisan forge:deploy on cli now.

Credits

License

The MIT License (MIT). Please see License File for more information.