Download the PHP package ptheofan/yii2-hosts-component without Composer
On this page you can find all versions of the php package ptheofan/yii2-hosts-component. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download ptheofan/yii2-hosts-component
More information about ptheofan/yii2-hosts-component
Files in ptheofan/yii2-hosts-component
Download ptheofan/yii2-hosts-component
More information about ptheofan/yii2-hosts-component
Files in ptheofan/yii2-hosts-component
Vendor ptheofan
Package yii2-hosts-component
Short Description A Yii2 component to help you manage domains and hosts throughout your app accross multiple environments.
License BSD-3-Clause
Package yii2-hosts-component
Short Description A Yii2 component to help you manage domains and hosts throughout your app accross multiple environments.
License BSD-3-Clause
Please rate this library. Is it a good library?
Informations about the package yii2-hosts-component
Easily manage your domains and subdomains across multiple environments
In your config (example /common/main-local.php
)
Then you can access the following
To support autocomplete you have two options
- Extend the Hosts class with your own component and add @property annotations
- Create a mock file and mark the original file as text-only (if your IDE supports it). Then add the @property annotations you want to the class.
Here's a simple example of the first method
All versions of yii2-hosts-component with dependencies
PHP Build Version
Package Version
The package ptheofan/yii2-hosts-component contains the following files
Loading the files please wait ....