Yii Framework Application
This template is still experimental and provided to help you discover Yii 3. If you are looking to develop with the last stable Yii version, use yii2-app-basic instead
The template contains the basic features including user login/logout and a contact page. It includes all commonly used configurations that would allow you to focus on adding new features to your application.
bin/ config/ contains application configurations public/ contains the entry script for a web server runtime/ contains files generated during runtime src/ assets/ contains assets definition commands/ contains console commands (controllers) controllers/ contains Web controller classes mail/ contains view files for e-mails models/ contains model classes views/ contains view files for the Web application vendor/ contains dependent 3rd-party packages .env .env.dist composer.json
The minimum requirement by this project template that your Web server supports PHP 7.1.
Follow the installation of yii-project-template to get started with this template.
You should recreate configuration files as needed in your root
Make sure they are listed in the
extra.config-plugin entry of your
composer.json file in order for them
to be discovered, and remember to run
composer dump-autoload (or
composer du) every time you change a
Refer to hiqdev/composer-config-plugin for more information.
- Yii won't create the database for you, this has to be done manually before you can access it.
- Check and edit the other files in the
config/directory to customize your application as required.