2017 © Pedro Peláez
 

library yii2-environment-config

Yii2 environment-config integration

image

horat1us/yii2-environment-config

Yii2 environment-config integration

  • Wednesday, June 27, 2018
  • by Horat1us
  • Repository
  • 1 Watchers
  • 0 Stars
  • 106 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Yii2 Environment Config

Latest Stable Version Total Downloads Build Status codecov, (*1)

Main purpose of this package is to integrate horat1us\environment-config and yii\base\Configurable interface, (*2)

Installation

composer require horat1us/yii2-environment-config

Usage

<?php

use Horat1us\Environment;

class Config extends Environment\Yii2\Config {
    // implement your methods (getters) here
}

// using constructor
$config = new Config([
    'keyPrefix' => 'SOME_PREFIX_',
]);

// or using container
\Yii::$container->get(Config::class, [], [
    'keyPrefix' => 'SOME_PREFIX_',
]);

Contributors

License

MIT, (*3)

The Versions

27/06 2018

dev-master

9999999-dev

Yii2 environment-config integration

  Sources   Download

MIT

The Requires

 

The Development Requires

by Alexander Letnikow

27/06 2018

1.0.0

1.0.0.0

Yii2 environment-config integration

  Sources   Download

MIT

The Requires

 

The Development Requires

by Alexander Letnikow