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.
- Run
composer create-project crisu83/yii-app [APP-NAME]
and composer will create the project for you. - Browse through the
composer.json
and remove the dependencies you don't need. - Download and install Node.js by following the instructions here here.
- Run
npm install
to download the 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 environment dev
to activate the development environment. - You're done! Navigate to
web/index.php
to see your application.
- Download and install Vagrant by following the instructions here
- Download VirtualBox 4.2.12 here and run the installer
- If you are using Windows you need to run VirtualBox as an Administrator
- Set up Git by following the instructions here.
- Download and install Composer by following the instructions here.
- Run
composer create-project crisu83/yii-app [APP-NAME]
and composer will create the project for you. - Run
vagrant up
to set up your development environment. - You're done! Navigate to
http://localhost:8080/index.php
to see your application.
For more information on Composer, Grunt and Vagrant:
The following extensions are part of yii-app:
- Audit https://github.com/nordsoftware/yii-audit
- Auth https://github.com/Crisu83/yii-auth
- Debug toolbar https://github.com/malyshev/yii-debug-toolbar
- Console tools https://github.com/Crisu83/yii-consoletools
- Emailer https://github.com/nordsoftware/yii-emailer
- File manager https://github.com/Crisu83/yii-filemanager
- Image manager https://github.com/Crisu83/yii-imagemanager
- Password https://github.com/phpnode/YiiPassword
- Seo https://github.com/Crisu83/yii-seo
- Yiistrap https://github.com/Crisu83/yiistrap
Please consult the extension documentation for further information.