1111<!-- markdownlint-enable MD041 -->
1212
1313<p align =" center " >
14- <a href="https://www.php.net/releases/8.1/en.php" target="_blank">
15- <img src="https://img.shields.io/badge/%3E%3D8.1-777BB4.svg?style=for-the-badge&logo=php&logoColor=white" alt="PHP version">
16- </a>
17- <a href="https://github.com/yiisoft/yii2/tree/2.0.53" target="_blank">
18- <img src="https://img.shields.io/badge/2.0.x-0073AA.svg?style=for-the-badge&logo=yii&logoColor=white" alt="Yii 2.0.x">
19- </a>
20- <a href="https://github.com/yiisoft/yii2/tree/22.0" target="_blank">
21- <img src="https://img.shields.io/badge/22.0.x-0073AA.svg?style=for-the-badge&logo=yii&logoColor=white" alt="Yii 22.0.x">
22- </a>
2314 <a href="https://github.com/yii2-extensions/app-basic/actions/workflows/build.yml?query=branch%3Afranken-php" target="_blank">
24- <img src="https://img.shields.io/github/actions/workflow/status/yii2-extensions/app-basic/build.yml?branch=franken-php&style=for-the-badge&label=Codeception" alt="Codeception">
15+ <img src="https://img.shields.io/github/actions/workflow/status/yii2-extensions/app-basic/build.yml?branch=franken-php&logo=github& style=for-the-badge&label=Codeception" alt="Codeception">
2516 </a>
2617 <a href="https://github.com/yii2-extensions/app-basic/actions/workflows/static.yml?query=branch%3Afranken-php" target="_blank">
27- <img src="https://img.shields.io/github/actions/workflow/status/yii2-extensions/app-basic/static.yml?branch=franken-php&style=for-the-badge&label=PHPStan" alt="PHPStan">
18+ <img src="https://img.shields.io/github/actions/workflow/status/yii2-extensions/app-basic/static.yml?branch=franken-php&logo=github& style=for-the-badge&label=PHPStan" alt="PHPStan">
2819 </a>
2920</p >
3021
4132
4233## Features
4334
44- - ✅ ** Asset Management** - Optimized asset bundles for CSS, JS, and resource management.
45- - ✅ ** Clean Architecture** - Well-organized directory structure following Yii2 best practices.
46- - ✅ ** Console Commands** - Example console commands for background tasks and maintenance.
47- - ✅ ** Developer Tools** - Debugging tools, logging, and development-friendly configurations.
48- - ✅ ** HTTP/2 & HTTP/3 Support** : Native support for modern HTTP protocols with multiplexing.
49- - ✅ ** HTTPS/TLS Support** - Secure your application with built-in HTTPS support.
50- - ✅ ** Modern Bootstrap 5 UI** - Responsive, mobile-first design with latest Bootstrap components.
51- - ✅ ** Testing Ready** - Codeception test suite with examples for functional and unit testing.
35+ <picture >
36+ <source media="(min-width: 768px)" srcset="./docs/svgs/features.svg">
37+ <img src="./docs/svgs/features-mobile.svg" alt="Feature Overview" style="width: 100%;">
38+ </picture >
5239
5340## How it works
5441
55- The Yii2 Web Application Basic template provides a complete foundation for building modern web applications. Unlike starting
42+ The Yii2 Web Application Basic template provides a complete foundation for building modern web applications. Unlike starting
5643from scratch, this template includes.
5744
58451 . ** Pre-configured structure** with organized directories for assets, views, models, and controllers.
@@ -94,6 +81,9 @@ Start the server in CLI mode
9481Download and start the server with [ Docker images] ( https://frankenphp.dev/docs/docker/ )
9582
9683Gitbash/Windows
84+
85+ <!-- editorconfig-checker-disable -->
86+ <!-- prettier-ignore-start -->
9787``` bash
9888docker run \
9989 -e CADDY_GLOBAL_OPTIONS=" auto_https off" \
@@ -107,11 +97,16 @@ docker run \
10797 --name yii2-frankenphp-worker \
10898 dunglas/frankenphp
10999```
100+ <!-- prettier-ignore-end -->
101+ <!-- editorconfig-checker-enable -->
110102
111103> ** Note:** Paths in the example (` //k/yii2-extensions/app-basic ` ) are for demonstration purposes only.
112104> Replace them with the actual path to your Yii2 project on your system.
113105
114106Linux/WSL
107+
108+ <!-- editorconfig-checker-disable -->
109+ <!-- prettier-ignore-start -->
115110``` bash
116111docker run \
117112 -e CADDY_GLOBAL_OPTIONS=" auto_https off" \
@@ -125,7 +120,10 @@ docker run \
125120 --name yii2-frankenphp-worker \
126121 dunglas/frankenphp
127122```
123+ <!-- prettier-ignore-end -->
124+ <!-- editorconfig-checker-enable -->
128125
126+ > [ !IMPORTANT]
129127> Your application will be available at ` https://localhost:8443 ` or at the address set in the ` Caddyfile ` .
130128
131129#### Directory structure
@@ -185,12 +183,16 @@ final class SiteController extends Controller
185183
186184## Package information
187185
186+ [ ![ PHP] ( https://img.shields.io/badge/%3E%3D8.1-777BB4.svg?style=for-the-badge&logo=php&logoColor=white )] ( https://www.php.net/releases/8.1/en.php )
187+ [ ![ Yii 2.0.x] ( https://img.shields.io/badge/2.0.53-0073AA.svg?style=for-the-badge&logo=yii&logoColor=white )] ( https://github.com/yiisoft/yii2/tree/2.0.53 )
188+ [ ![ Yii 22.0.x] ( https://img.shields.io/badge/22.0.x-0073AA.svg?style=for-the-badge&logo=yii&logoColor=white )] ( https://github.com/yiisoft/yii2/tree/22.0 )
188189[ ![ Latest Stable Version] ( https://img.shields.io/packagist/v/yii2-extensions/franken-php.svg?style=for-the-badge&logo=packagist&logoColor=white&label=Stable )] ( https://packagist.org/packages/yii2-extensions/franken-php )
189190
190191## Quality code
191192
192193[ ![ Codecov] ( https://img.shields.io/codecov/c/github/yii2-extensions/app-basic.svg?branch=main&style=for-the-badge&logo=codecov&logoColor=white&label=Coverage )] ( https://codecov.io/github/yii2-extensions/app-basic )
193194[ ![ PHPStan Level Max] ( https://img.shields.io/badge/PHPStan-Level%20Max-4F5D95.svg?style=for-the-badge&logo=php&logoColor=white )] ( https://github.com/yii2-extensions/app-basic/actions/workflows/static.yml?query=branch%3Afranken-php )
195+ [ ![ Super-Linter] ( https://img.shields.io/github/actions/workflow/status/yii2-extensions/app-basic/linter.yml?style=for-the-badge&label=Super-Linter&logo=github )] ( https://github.com/yii2-extensions/app-basic/actions/workflows/linter.yml?query=branch%3Afranken-php )
194196[ ![ StyleCI] ( https://img.shields.io/badge/StyleCI-Passed-44CC11.svg?style=for-the-badge&logo=styleci&logoColor=white )] ( https://github.styleci.io/repos/165419144?branch=franken-php )
195197
196198## Documentation
0 commit comments