JustPark's Envoyer Deploy Command updated for Laravel 5/6/7
⚠️ Update May 2020: Forked and updated for Laravel 5.5+, 6 and 7
With this Artisan command, deploying to Envoyer.io is as simple as 1...2... well... more like this:
➜ php artisan envoyer:deploy Deployment request successful!
You can even deploy different projects (although, there's a default option)!
➜ php artisan envoyer:deploy --project awesomecake Deployment request successful!
Shortcuts are awesome!
➜ php artisan envoyer:deploy -p awesomecake Deployment request successful!
First you'll need to install the Composer package from Packagist.
Simply add the following to the
"require-dev" section of your
composer.json file, and
Or simply execute:
composer require repat/envoyer-deploy --dev
If you're on Laravel < 5.5, you'll need to add the
ServiceProvider for this command to the
providers array within your
config/app.php file. Newer versions make use of Auto-Discovery.
'providers' => [ /* * Loads of other providers here... */ 'JustPark\Deploy\ServiceProviders\EnvoyerServiceProvider', ],
Finally, you'll want to copy this config file into your config directory. The
default config key contains handle of the project you want to deploy by default, and should match up to a project in the
projects config key. The name of the project doesn't matter, since it's only used within the command. You'll want to pair it with the webook deployment key that you'll find under the 'Deployment Hooks' tab of your Envoyer.io project.
php artisan vendor:publish
It's the bit after the
Well, now you're good to go! Check the section at the top of this page for usage examples.
JustPark & repat
JustPark is a London based startup solving the problem of parking for people all over the world! We've got affordable parking spaces in major cities, and we even allow property owners to earn some extra cash by renting out their extra space for parking.
We're huge fans of Laravel within the company, and we've even got Laravel evangelist, contributor and best-selling author Dayle Rees on the team.
If you're interested in working with us, why not check out our jobs page.
repat is an independent Laravel developer and consultant and just updated this for Laravel 5.5+, 6 and 7. All credit goes to the guys at JustPark.
Envoyer Deploy Command is licensed under The MIT License (MIT).