subscribo/environment

Package Environment is for getting current environment

Maintainers

👁 subscribo

Package info

github.com/Subscribo/environment

pkg:composer/subscribo/environment

Statistics

Installs: 80

Dependents: 1

Suggesters: 1

Stars: 0

Open Issues: 0

v0.1.0 2016-11-26 19:37 UTC

Requires

  • php: ^5.4 || ^7.0

Requires (Dev)

None

Suggests

  • laravel/framework: This package have been developed to work with The Laravel Framework 5.0

Provides

None

Conflicts

None

Replaces

None

MIT 5bafb898c3d25e3df1816839c7834673bb6bbf0e

  • Slavo
  • KochAbo GmbH

laravelenvironmentsubscribo

This package is not auto-updated.

Last update: 2026-06-21 05:37:06 UTC


README

Package for getting current environment

1. Installation

1.1 Add the following to your project's composer.json:

1.1.1 Repository containing this package (note: you need to have access to this repository as well as to resources it points to)

1.1.2 Dependency under "require" key

 "subscribo/environment": "^0.1.0"

1.2. If you are using Laravel (5.0), you might want to add

 '\\Subscribo\\Environment\\Integration\\Laravel\\EnvironmentServiceProvider',

under 'providers' key in config/app.php file.

or

 if (class_exists('\\Subscribo\\Environment\\Integration\\Laravel\\EnvironmentServiceProvider')) {
 $app->register('\\Subscribo\\Environment\\Integration\\Laravel\\EnvironmentServiceProvider');
 }

in bootstrap/app.php for conditional registration

If used with package adding this dependency and registering this service provider for you, this step (1.2) is not necessary.