config/ application directory configurations
common contains common config local classes
web contains web config local classes
widget contains widget config local classes
src/ application directory
Action contains action classes
Command contains command console classes
Handler contains handlers classes
If you do not have Composer, you may install it by following the instructions at getcomposer.org.
You can then install this project template using the following command:
composer create-project --prefer-dist --stability dev yii-extension/simple-app <your project>
Now you should be able to access the application through the following URL, assuming app
is the directory
directly under the public
root.
All the configuration is in the config directory
of the application
.
php -S 127.0.0.1:8080 -t public
http://localhost:8080
The package is tested with Codeception. To run tests:
php -S 127.0.0.1:8080 -t public > yii.log 2>&1 &
vendor/bin/codecept run
The code is statically analyzed with Psalm. To run static analysis:
./vendor/bin/psalm
The yii-extension/simple-app
for Yii Packages is free software.
It is released under the terms of the BSD License. Please see LICENSE
for more information.
Maintained by Yii Extension.