Yii 2 is a modern framework designed to be a solid foundation for your PHP application.
It is fast, secure and efficient and works right out of the box pre-configured with reasonable defaults. The framework is easy to adjust to meet your needs, because Yii has been designed to be flexible.
Cara Memasang ¶
- Melalui console
composer require --prefer-dist diecoding/yii2-core "*"
- Melalui
composer.json
- Tambahkan pada baris
require
"diecoding/yii2-core": "*"
- Kemudian jalankan
composer update
List Class ¶
\diecoding\behaviors\TouchDbBehavior();
\diecoding\helpers\Date();