repat/envoyer-deploy

JustPark's Envoyer Deploy Command updated for Laravel 5/6/7/8

Installs: 421

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 3

Type:project

1.2 2020-09-29 10:29 UTC

This package is auto-updated.

Last update: 2024-11-29 06:29:37 UTC


README

Just Park

Downloads Release License

Envoyer Deploy Command

Hi there!

Are you looking for a simple way to deploy your Envoyer.io project from the command line? So was I, until I found the Envoyer Deploy Command from JustPark!

⚠️ Update May & Sept 2020: Forked and updated for Laravel 5.5+, 6 , 7 and 8

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!

Installation

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 composer update.

"repat/envoyer-deploy": "^1.1.1"

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 deploy/ here:

https://envoyer.io/deploy/4aLDdfsfsd4s6fSzeKGNfakekey75R45wOwTQULEDJNrj

Well, now you're good to go! Check the section at the top of this page for usage examples.

Happy deploying!

Love,

JustPark & repat

Who are you?

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.

Panda

repat is an independent Laravel developer and consultant and just updated this for Laravel 5.5+, 6, 7 and 8. All credit goes to the guys at JustPark.

License

Envoyer Deploy Command is licensed under The MIT License (MIT).