Download the PHP package daprime-com/yii-configbuilder without Composer
On this page you can find all versions of the php package daprime-com/yii-configbuilder. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download daprime-com/yii-configbuilder
More information about daprime-com/yii-configbuilder
Files in daprime-com/yii-configbuilder
Download daprime-com/yii-configbuilder
More information about daprime-com/yii-configbuilder
Files in daprime-com/yii-configbuilder
Vendor daprime-com
Package yii-configbuilder
Short Description Configuration builder extension for applications based on Yii2
License BSD-3-Clause
Package yii-configbuilder
Short Description Configuration builder extension for applications based on Yii2
License BSD-3-Clause
Please rate this library. Is it a good library?
Informations about the package yii-configbuilder
yii-configbuilder
Config builder class proposes a special configuration files structure to make it easier to configure Your Yii2 application for different environments.
Installation
Install extension with composer.
-
add repository to list of repositories (composer.json)
- add configbuilder to require section
Usage
Prepare config folder files structure to look like this:
The workflow of ConfigBuilder is following:
- takes common file from base directory
- takes (web|console) file from base directory (depends on web or cli execution)
- takes YII_ENV constant value to know what environment is used
- takes common file from (prod|dev|test) directory
- takes (web|console) file from env directory
Initialization
To initialize ConfigBuilder change your application entry points like that:
All versions of yii-configbuilder with dependencies
PHP Build Version
Package Version
Requires
yiisoft/yii2 Version
*
The package daprime-com/yii-configbuilder contains the following files
Loading the files please wait ....