Skip to content

Commit f07ed87

Browse files
fix(super-linter): Add Gitleaks configuration and update documentation for improved clarity and consistency. (#200)
1 parent 0b6fd4d commit f07ed87

File tree

8 files changed

+69
-38
lines changed

8 files changed

+69
-38
lines changed

.github/linters/.gitleaks.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
title = "gitleaks config"
2+
3+
[allowlist]
4+
description = "Allowlisted files"
5+
paths = [
6+
'''web/ssl/.*''',
7+
]

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,12 @@
22

33
## 0.1.2 October 8, 2025
44

5+
- Bug #194: Use stable version for `yii2-extensions/franken-php:^0.1` in `composer.json` (@terabytesoftw)
6+
- Bug #195: Update package badge in `README.md` to reflect latest stable version (@terabytesoftw)
57
- Bug #197: Update workflows and documentation for improved CI/CD processes and feature clarity (@terabytesoftw)
68
- Bug #198: Add `Super-Linter` badge to `README.md` for enhanced CI visibility (@terabytesoftw)
79
- Bug #199: Correct indentation in console configuration section of `README.md` (@terabytesoftw)
10+
- Bug #200: Add Gitleaks configuration and update documentation for improved clarity and consistency (@terabytesoftw)
811

912
## 0.1.1 September 03, 2025
1013

@@ -15,7 +18,7 @@
1518
- Bug #150: Add container configuration to `console` app setup (@terabytesoftw)
1619
- Enh #151: Implement `FrankenPHP` stack (@terabytesoftw)
1720
- Bug #152: Remove redundant `Quick start` section header from `README.md` (@terabytesoftw)
18-
- Bug #154: Update links and headings in `README.md` for clarity and consistency (@terabytesoftw)
21+
- Bug #154: Update links and headings in `README.md` for clarity and consistency (@terabytesoftw)
1922
- Bug #156: Update `README.md` with new Packagist badges and improve structure (@terabytesoftw)
2023
- Bug #159: Remove redundant `Basic usage` section from `README.md` (@terabytesoftw)
2124
- Bug #162: Update `README.md` to reorganize `Package information` and add latest stable version badge (@terabytesoftw)

README.md

Lines changed: 22 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,11 @@
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

@@ -41,18 +32,14 @@
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
5643
from scratch, this template includes.
5744

5845
1. **Pre-configured structure** with organized directories for assets, views, models, and controllers.
@@ -94,6 +81,9 @@ Start the server in CLI mode
9481
Download and start the server with [Docker images](https://frankenphp.dev/docs/docker/)
9582

9683
Gitbash/Windows
84+
85+
<!-- editorconfig-checker-disable -->
86+
<!-- prettier-ignore-start -->
9787
```bash
9888
docker 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
114106
Linux/WSL
107+
108+
<!-- editorconfig-checker-disable -->
109+
<!-- prettier-ignore-start -->
115110
```bash
116111
docker 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

docs/svgs/features-mobile.svg

Lines changed: 15 additions & 7 deletions
Loading

docs/svgs/features.svg

Lines changed: 15 additions & 7 deletions
Loading

tests/Acceptance.suite.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1+
---
12
# Codeception Test Suite Configuration
23
#
34
# Suite for acceptance tests.
45
# Perform tests in browser using the WebDriver or PhpBrowser.
56
# If you need both WebDriver and PHPBrowser tests - create a separate suite.
67
actor: AcceptanceTester
78
modules:
8-
enabled:
9-
- PhpBrowser:
10-
url: https://localhost:8443/
9+
enabled:
10+
- PhpBrowser:
11+
url: https://localhost:8443/
1112
step_decorators: ~

tests/Functional.suite.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
# Codeception Test Suite Configuration
23
#
34
# Suite for functional tests

tests/Unit.suite.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
# Codeception Test Suite Configuration
23
#
34
# Suite for unit or integration tests.

0 commit comments

Comments
 (0)