Yii 3 demo application
[Yii Framework] is a modern framework designed to be a solid foundation for your PHP application.
It's intended to show and test all Yii features.
You'll need PHP 7.4. Additionally, NodeJs is used in this repository to fetch assets, so it should be installed.
config/params.php. You can skip this step.
composer installin project root directory.
./vendor/bin/yii serveor start your web-server setting up
publicdirectory as webroot.
config/params.php. In this case you should create migrations to sync changes of entities with DB.
./vendor/bin/yii fixture/add 20to create some random data.
Console works out of the box and could be executed with
user/create fixture/add [count]
In order to register your own commands, add them to
In order to run web application either built-in web server could be used by running
./vendor/bin/yii serveor a real web server could be pointed to
More routes could be added by editing