Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tobischulz/artisan-forge-deploy
A Laravel artisan command to easily deploy your code to a laravel forge server.
https://github.com/tobischulz/artisan-forge-deploy
artisan-command forge hacktoberfest laravel
Last synced: 3 months ago
JSON representation
A Laravel artisan command to easily deploy your code to a laravel forge server.
- Host: GitHub
- URL: https://github.com/tobischulz/artisan-forge-deploy
- Owner: tobischulz
- License: mit
- Created: 2019-01-23T19:19:51.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-10-10T08:31:10.000Z (about 1 year ago)
- Last Synced: 2024-09-29T09:08:45.061Z (3 months ago)
- Topics: artisan-command, forge, hacktoberfest, laravel
- Language: PHP
- Homepage:
- Size: 1.03 MB
- Stars: 2
- Watchers: 2
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Laravel Artisan Forge Deploy
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE.md)
[![Latest Version on Packagist](https://img.shields.io/packagist/v/tobischulz/artisan-forge-deploy.svg?style=flat-square)](https://packagist.org/packages/tobischulz/artisan-forge-deploy)
[![Total Downloads](https://img.shields.io/packagist/dt/tobischulz/artisan-forge-deploy.svg?style=flat-square)](https://packagist.org/packages/tobischulz/artisan-forge-deploy)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.
``` bash
php artisan forge:deploy
```![readme/artisan-forge-deploy-demo.gif](readme/artisan-forge-deploy-demo.gif)
## Installation
Pull this package in using composer:
**Use the 3.0 for Laravel 9**
```bash
composer require --dev tobischulz/artisan-forge-deploy "^3.0"
```Use the 2.0 for Laravel 7 or 8
```bash
composer require --dev tobischulz/artisan-forge-deploy "^2.0"
```Use 1.0 for Laravel 5.7 or above
```bash
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.
```env
FORGE_DEPLOY_URL=
```![readme/artisan-forge-deploy-env.png](readme/artisan-forge-deploy-env.png)
You´re ready to go to fire `php artisan forge:deploy` on cli now.
## Credits
- [Tobias Schulz](https://github.com/tobischulz)
## License
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.