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.jsonand remove the dependencies you don't need. - Run
composer installto download Composer dependencies. - Download and install Node.js by follwoing the instructions here here.
- Run
npm installto download Node.js dependencies. - Update the configurations in
app/configto suit your needs. - Start Grunt by running
gruntand it will compile your LESS and deploy your JavaScript files. - Run
yiic env devto activate the development environment. - Run
yiic debug onto enable the debugging mode. - You're done! Navigate to
web/index.phpto 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.