Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yii-extension/simple-app
Simple web application for Yii3.
https://github.com/yii-extension/simple-app
application php8 php81 yii3
Last synced: 8 days ago
JSON representation
Simple web application for Yii3.
- Host: GitHub
- URL: https://github.com/yii-extension/simple-app
- Owner: yii-extension
- License: bsd-3-clause
- Created: 2021-03-23T22:10:19.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2023-03-10T08:59:01.000Z (almost 2 years ago)
- Last Synced: 2024-10-31T22:23:29.329Z (about 2 months ago)
- Topics: application, php8, php81, yii3
- Language: PHP
- Homepage:
- Size: 142 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Changelog: changelog.md
- License: LICENSE.md
- Code of conduct: .github/CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
Simple web application for Yii3.
[![Total Downloads](https://poser.pugx.org/yii-extension/simple-app/downloads.png)](https://packagist.org/packages/yii-extension/simple-app)
[![Build Status](https://github.com/yii-extension/simple-app/workflows/build/badge.svg)](https://github.com/yii-extension/simple-app/actions?query=workflow%3Abuild)
[![codecov](https://codecov.io/gh/yii-extension/simple-app/branch/master/graph/badge.svg?token=GLO748TP63)](https://codecov.io/gh/yii-extension/simple-app)
[![static analysis](https://github.com/yii-extension/simple-app/workflows/static%20analysis/badge.svg)](https://github.com/yii-extension/simple-app/actions?query=workflow%3A%22static+analysis%22)
[![type-coverage](https://shepherd.dev/github/yii-extension/user-view-bootstrap5/coverage.svg)](https://shepherd.dev/github/yii-extension/user-view-bootstrap5)## 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](http://getcomposer.org/), you may install it by following the instructions
at [getcomposer.org](http://getcomposer.org/doc/00-intro.md#installation-nix).You can then install this project template using the following command:
```shell
composer create-project --prefer-dist --stability dev yii-extension/simple-app
```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
```shell
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](https://github.com/Codeception/Codeception). To run tests:
```shell
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](https://psalm.dev/docs). To run static analysis:
```shell
./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`](./LICENSE.md) for more information.
Maintained by [Yii Extension](https://github.com/yii-extension).
## Support the project
[![Official website](https://img.shields.io/badge/Powered_by-Yii_Framework-green.svg?style=flat)](https://www.yiiframework.com/)
[![Open Collective](https://img.shields.io/badge/Open%20Collective-sponsor-7eadf1?logo=open%20collective&logoColor=7eadf1&labelColor=555555)](https://opencollective.com/yiisoft)