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: 11 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 (over 7 years ago)
- Default Branch: master
- Last Pushed: 2025-01-09T01:03:31.000Z (over 1 year ago)
- Last Synced: 2025-02-10T19:09:37.574Z (over 1 year ago)
- Topics: artisan-command, forge, hacktoberfest, laravel
- Language: PHP
- Homepage:
- Size: 1.26 MB
- Stars: 2
- Watchers: 2
- Forks: 3
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Laravel Artisan Forge Deploy
[](LICENSE.md)
[](https://packagist.org/packages/tobischulz/artisan-forge-deploy)
[](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
```

## 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=
```

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.