yii-extension / simple-app
Simple web application for Yii3.
Installs: 3 881
Dependents: 3
Suggesters: 0
Security: 0
Stars: 1
Watchers: 3
Forks: 0
Open Issues: 6
Requires
- php: >=8.0
- nyholm/psr7: ^1.3
- yiisoft/aliases: ^2.0
- yiisoft/config: ^1.0
- yiisoft/csrf: ^1.0
- yiisoft/data-response: ^1.0
- yiisoft/definitions: ^1.0
- yiisoft/di: ^1.0
- yiisoft/error-handler: ^2.0
- yiisoft/event-dispatcher: ^1.0
- yiisoft/i18n: ^1.0
- yiisoft/log: ^1.0
- yiisoft/log-target-file: ^1.0
- yiisoft/router-fastroute: ^1.0
- yiisoft/session: ^1.0
- yiisoft/yii-console: ^1.0
- yiisoft/yii-http: ^1.0
- yiisoft/yii-runner-console: ^1.0
- yiisoft/yii-runner-http: ^1.0
Requires (Dev)
- codeception/c3: ^2.6.0
- codeception/codeception: ^5.0
- codeception/module-asserts: ^2.0
- codeception/module-cli: ^2.0
- codeception/module-phpbrowser: ^2.0
- vimeo/psalm: ^4.7
- dev-master / 1.0.x-dev
- dev-dependabot/composer/vimeo/psalm-tw-5.8
- dev-dependabot/composer/yiisoft/definitions-tw-2.1
- dev-dependabot/github_actions/actions/checkout-3.1.0
- dev-dependabot/composer/yiisoft/log-tw-2.0
- dev-dependabot/composer/codeception/module-phpbrowser-tw-3.0
- dev-dependabot/composer/codeception/module-asserts-tw-3.0
This package is auto-updated.
Last update: 2024-11-10 13:05:35 UTC
README
Simple web application for Yii3.
Directory structure
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
Installation
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.
Configuring your application
All the configuration is in the config directory
of the application
.
Using PHP built-in server
php -S 127.0.0.1:8080 -t public
Wait till it is up, then open the following URL in your browser
http://localhost:8080
Codeception testing
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
Static analysis
The code is statically analyzed with Psalm. To run static analysis:
./vendor/bin/psalm
License
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.