bluebaytravel/centurian

This package is abandoned and no longer maintained. No replacement package was suggested.

A PHP package for notifying Sentry of new releases.

dev-master / 1.0.x-dev 2018-01-02 08:55 UTC

This package is not auto-updated.

Last update: 2020-01-24 16:21:12 UTC


README

Centurian is a Laravel package which adds extra commands that manage releases in your Sentry instance.

Installation

Either PHP 5.5+ or HHVM 3.6+ are required.

To get the latest version of Blue Bay Travel Centurian, simply require the project using Composer:

$ composer require bluebaytravel/centurian

Instead, you may of course manually update your require block and run composer update if you so choose:

{
    "require": {
        "bluebaytravel/centurian": "^1.0"
    }
}

Once Blue Bay Travel Centurian is installed, you need to register the service provider. Open up config/app.php and add the following to the providers key.

  • 'BlueBayTravel\Centurian\CenturianServiceProvider'

After the service provider has been loaded, publish the config:

$ php artisan vendor:publish

You'll need a Sentry API key, which you'll find under the API Keys page within your Sentry dashboard. Alongside the API key, you'll also need to know the organization and project slug that you want to make releases for.

An easier way to get started is to add and then configure the following values in your .env file.

CENTURIAN_ENDPOINT=https://getsentry.com
CENTURIAN_ORG_SLUG=bluebaytravel
CENTURIAN_PROJECT_SLUG=centurian
CENTURIAN_TOKEN=YOUR_API_KEY

Usage

Once Centurian has been configured, it is simply a matter of running the Artisan command, supplying the version number to release.

$ php artisan centurian:release 1.0.0

License

Blue Bay Travel Centurian is licensed under The MIT License (MIT).