log1x/envoyer-deploy-commands

A Laravel package to add Envoyer deploy commands to your application.

Fund package maintenance!
Log1x

Installs: 3 802

Dependents: 0

Suggesters: 0

Security: 0

Stars: 26

Watchers: 2

Forks: 0

Type:package

v1.1.3 2024-03-17 10:00 UTC

This package is auto-updated.

Last update: 2024-10-17 12:06:49 UTC


README

Screenshot

Envoyer Deploy Commands

Latest Stable Version Total Downloads Build Status

Envoyer Deploy Commands is a simple Laravel package providing Artisan commands to deploy through Envoyer using the API.

Requirements

Installation

Install via Composer:

$ composer require log1x/envoyer-deploy-commands --dev

Getting Started

Start by publishing the package configuration:

$ php artisan vendor:publish --tag=envoyer-deploy-config

Customize the configuration adding your Envoyer API key with the deployments:create permission scope.

After adding an API key, you can list the available projects and their corrosponding ID's:

$ php artisan deploy:list [search]

Once you have your project ID, add it the projects section of config/envoyer.php along with an alias (e.g. production).

Usage

Usage is extremely straight forward. Use the artisan deploy command optionally specifying your project alias. If you only have 1 project, it will be used by default.

$ php artisan deploy [alias]

You can also get detailed information on your project using the artisan deploy:info command:

$ php artisan deploy:info [alias]

Info Screenshot

Bug Reports

If you discover a bug in Envoyer Deploy Commands, please open an issue.

Contributing

Contributing whether it be through PRs, reporting an issue, or suggesting an idea is encouraged and appreciated.

License

Envoyer Deploy Commands is provided under the MIT License.