Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add support status for PHP 8.4 #309

Merged
merged 1 commit into from
Nov 26, 2024
Merged
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
37 changes: 19 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,18 +34,19 @@ PHP version:

New features will only go into the main branch and won't be backported.

| PHP Version | Collmex PHP SDK Version | Support Status |
|-------------|-------------------------|------------------|
| 8.3 | 3.x | ✅ active |
| 8.2 | 3.x | ✅ active |
| 8.1 | 3.x | ✅ active |
| 8.0 | 2.x | ⚠️ security only |
| 7.4 | 2.x | ⚠️ security only |
| 7.3 | 2.x | ⚠️ security only |
| 7.2 | 1.x | ❌ end of life |
| 7.1 | 1.x | ❌ end of life |
| 7.0 | 1.x | ❌ end of life |
| 5.6 | 0.11.x | ❌ end of life |
| PHP Version | Collmex PHP SDK Version | Support Status |
| ----------- | ----------------------- | -------------------- |
| 8.4 | 3.x | ✅ active (untested) |
| 8.3 | 3.x | ✅ active |
| 8.2 | 3.x | ✅ active |
| 8.1 | 3.x | ✅ active |
| 8.0 | 2.x | ⚠️ security only |
| 7.4 | 2.x | ⚠️ security only |
| 7.3 | 2.x | ⚠️ security only |
| 7.2 | 1.x | ❌ end of life |
| 7.1 | 1.x | ❌ end of life |
| 7.0 | 1.x | ❌ end of life |
| 5.6 | 0.11.x | ❌ end of life |

## Installation

Expand Down Expand Up @@ -100,7 +101,7 @@ return [
this. Below you will find the complete list of renamed attributes:

| Class | Old Name | New Name |
|----------------------------|-------------------------------|------------------------------|
| -------------------------- | ----------------------------- | ---------------------------- |
| `Stock` | `charge_number` | `batch_number` |
| `Stock` | `charge_description` | `batch_description` |
| `StockChange` | `destination_charge` | `destination_batch` |
Expand Down Expand Up @@ -360,11 +361,11 @@ For more information on format requirements, see the [offical API documentation]
The library provides helpers for simple conversion from several types to
the Collmex money format:

| type | example value | call | result (string) |
|------------------------------------------|------------------------------------------------|---------------------------|-----------------|
| *float* | `19.99` | `Money::fromFloat(19.99)` | `19,99` |
| *integer* (cents) | `1999` | `Money::fromCents(1999)` | `19,99` |
| [Money for PHP](https://www.moneyphp.org/en/stable/) | `$money = \Money\Money::EUR(1999)` | `Money::fromMoney($money)` | `19,99` |
| type | example value | call | result (string) |
| ---------------------------------------------------- | ---------------------------------- | -------------------------- | --------------- |
| *float* | `19.99` | `Money::fromFloat(19.99)` | `19,99` |
| *integer* (cents) | `1999` | `Money::fromCents(1999)` | `19,99` |
| [Money for PHP](https://www.moneyphp.org/en/stable/) | `$money = \Money\Money::EUR(1999)` | `Money::fromMoney($money)` | `19,99` |

Fully qualified class name for the helper: `\MarcusJaschen\Collmex\CollmexField\Money`.

Expand Down