Skip to content
This repository has been archived by the owner on Apr 1, 2020. It is now read-only.

Latest commit

 

History

History
58 lines (41 loc) · 1.2 KB

installation.md

File metadata and controls

58 lines (41 loc) · 1.2 KB

ActiveState installation

Laravel 5.5

Use the latest:

composer require arcesilas/active-state:^2.0

You're done! Service provider and Facade are automatically registered by Laravel.

If you don't want to use the Facade or want to use your own Service Provider, add this to your composer.json:

"extra": {
    "laravel": {
        "dont-discover": [
            "arcesilas/active-state"
        ]
    }
},

See Package discovery section on Laravel documentation.

Read how to configure the package.

Laravel 5.4 and before

For older versions of Laravel, please use appropriate versions of Active State:

  • Laravel 5.4: v1.2.x

    composer require arcesilas/active-state:^1.2
  • Laravel 5.3 and below: 0.0.2

Add the service provider in config/app.php

'providers' => [
    ........,
    Arcesilas\ActiveState\ActiveStateServiceProvider::class,
]

If you want to use the facade, add this to your facades in config/app.php

'aliases' => [
    ........,
    'Active' => Arcesilas\ActiveState\ActiveFacade::class,
]

Read how to configure the package.