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
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ jobs:
- highest
php-version:
- '8.4'
- '8.5'

steps:
- name: Checkout
Expand Down
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
Immutable objects in PHP
-----------------
This library provides native immutable objects for PHP>=8.4
This library provides native immutable objects for PHP 8.4 and 8.5

[![Build Status](https://img.shields.io/travis/com/lisachenko/immutable-object/master)](https://travis-ci.org/lisachenko/immutable-object)
[![CI](https://github.com/lisachenko/immutable-object/actions/workflows/ci.yml/badge.svg)](https://github.com/lisachenko/immutable-object/actions/workflows/ci.yml)
[![GitHub release](https://img.shields.io/github/release/lisachenko/immutable-object.svg)](https://github.com/lisachenko/immutable-object/releases/latest)
[![Minimum PHP Version](http://img.shields.io/badge/php-%3E%3D%208.4-8892BF.svg)](https://php.net/)
[![PHP Version](https://img.shields.io/badge/php-8.4%20%7C%208.5-8892BF.svg)](https://php.net/)
[![License](https://img.shields.io/packagist/l/lisachenko/immutable-object.svg)](https://packagist.org/packages/lisachenko/immutable-object)

Rationale
Expand All @@ -24,7 +24,8 @@ of the PHP itself.

Pre-requisites and initialization
--------------
As this library depends on `FFI`, it requires PHP>=8.4 and `FFI` extension to be enabled.
As this library depends on `FFI`, it requires PHP 8.4 or 8.5 and `FFI` extension to be enabled. The matching
`lisachenko/z-engine` line (`8.4.x-dev` on PHP 8.4, `8.5.x-dev` on PHP 8.5) is resolved by Composer automatically.

To install this library, simply add it via `composer`:
```bash
Expand Down
7 changes: 4 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,12 @@
"email": "lisachenko.it@gmail.com"
}
],
"minimum-stability": "stable",
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"php": "~8.4.0",
"php": "^8.4",
"ext-ffi": "*",
"lisachenko/z-engine": "~8.4.0"
"lisachenko/z-engine": "8.4.x-dev || 8.5.x-dev"
},
"require-dev": {
"phpunit/phpunit": "^12.2"
Expand Down