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
- Emailer https://github.com/nordsoftware/yii-emailer
- File manager https://github.com/Crisu83/yii-filemanager
- 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.