Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/crisu83/yii-globals
Global shorthand functions for commonly used Yii methods.
https://github.com/crisu83/yii-globals
Last synced: 23 days ago
JSON representation
Global shorthand functions for commonly used Yii methods.
- Host: GitHub
- URL: https://github.com/crisu83/yii-globals
- Owner: crisu83
- License: bsd-3-clause
- Created: 2013-02-18T21:34:06.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2013-02-18T22:35:48.000Z (almost 12 years ago)
- Last Synced: 2024-12-17T12:07:58.635Z (about 2 months ago)
- Language: PHP
- Size: 125 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
yii-globals
===========Global shorthand functions for commonly used Yii methods.
## Setup
Before you can start using these shorthand functions in your code you need to include the globals.php file in your index.php.
```php
.....
require_once($yii);
require_once('path/to/globals.php');
Yii::createWebApplication($config)->run();
```