A great way to start building your web application with the Yii PHP framework.
- Set up Git by following the instructions here.
- Download and install Composer by following the instructions here.
- Browse through the
composer.json
and remove the dependencies you don't need. - Run
composer install
to download Composer dependencies. - Download and install Node.js by follwoing the instructions here here.
- Run
npm install
to download Node.js dependencies. - Update the configurations in
app/config
to suit your needs. - Start Grunt by running
grunt
and it will compile your LESS and deploy your JavaScript files. - Run
yiic env dev
to activate the development environment. - Run
yiic debug on
to enable the debugging mode. - You're done! Navigate to
web/index.php
to see your application.
For more information on Composer and Grunt:
The following extensions are part of yii-app:
- Config builder https://github.com/Crisu83/yii-configbuilder
- Debug https://github.com/Crisu83/yii-debug
- Debug toolbar https://github.com/malyshev/yii-debug-toolbar
- Formatter https://github.com/Crisu83/yii-formatter
- Image https://github.com/Crisu83/yii-image
- Less https://github.com/Crisu83/yii-less
- Multilingual https://github.com/Crisu83/yii-multilingual
- Password https://github.com/phpnode/YiiPassword
- Seo https://github.com/Crisu83/yii-seo
- Yiistrap https://github.com/yii-twbs/yiistrap
- Yiiwheels https://github.com/2amigos/yiiwheels
Please consult the extension documentation for further information.