Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php: ['8.2', '8.3', '8.4', '8.5']
php: ['8.2', '8.3', '8.4', '8.5', '8.6']

steps:
- name: Checkout
Expand Down Expand Up @@ -52,9 +52,11 @@ jobs:
run: composer install --prefer-dist --no-progress --no-interaction

- name: Coding standards (PHP-CS-Fixer)
if: matrix.php != '8.6'
run: vendor/bin/php-cs-fixer fix --dry-run --diff

- name: Static analysis (PHPStan)
if: matrix.php != '8.6'
run: composer stan

- name: Unit tests (PHPUnit)
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ All notable changes to `initphp/database` are documented here. The format is bas
on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and this project
adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

### Changed

- CI now also runs the test suite on PHP 8.6 (8.2, 8.3, 8.4, 8.5 and 8.6).

## [5.0.1] - 2026-11-25

### Documentation
Expand Down
2 changes: 1 addition & 1 deletion docs/FAQ.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ So application code can refer to `\InitPHP\Database\Database` (matching the Comp

### Q. What PHP version is supported?

PHP 8.2 and later. Tested on 8.2, 8.3, 8.4, 8.5. See [Installation](Installation.md).
PHP 8.2 and later. Tested on 8.2, 8.3, 8.4, 8.5, 8.6. See [Installation](Installation.md).

### Q. Which databases work?

Expand Down
2 changes: 1 addition & 1 deletion docs/Home.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ The package re-exports the [InitORM](https://github.com/InitORM) stack under the
## Package metadata

- **License**: MIT
- **Minimum PHP**: 8.2 (tested on 8.2, 8.3, 8.4, 8.5)
- **Minimum PHP**: 8.2 (tested on 8.2, 8.3, 8.4, 8.5, 8.6)
- **Runtime dependencies**: `ext-pdo`, `initorm/orm ^2.0`
- **Suggested PDO drivers**: `ext-pdo_mysql`, `ext-pdo_pgsql`, `ext-pdo_sqlite`
- **Packagist**: [`initphp/database`](https://packagist.org/packages/initphp/database)
Expand Down
2 changes: 1 addition & 1 deletion docs/Installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Requirements

- **PHP 8.2 or later** — older versions are not supported. The test matrix covers PHP 8.2, 8.3, 8.4 and 8.5.
- **PHP 8.2 or later** — older versions are not supported. The test matrix covers PHP 8.2, 8.3, 8.4, 8.5 and 8.6.
- **`ext-pdo`** — always required.
- A PDO driver matching your target database — one of:
- `ext-pdo_mysql` (MySQL / MariaDB)
Expand Down
Loading