Skip to content

Commit f44b09d

Browse files
committed
Update library description and README for PHP version-specific usage instructions
- Revised description in `composer.json` to remove PHP 8.2 reference. - Updated `README.md` with separate installation instructions for PHP 8.2 (`v2.*`) and PHP 7.4 (`v1.*`).
1 parent 8b20173 commit f44b09d

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,16 @@ Building blocks for a DTO's, ValueObjects, Entities, etc.
1010

1111
## Install
1212

13+
Use `v2.*` for PHP 8.2 support:
14+
15+
```
16+
composer require georgii-web/php-typed-values:^2.0
17+
```
18+
19+
Use `v1.*` for PHP 7.4 support:
20+
1321
```
14-
composer require georgii-web/php-typed-values
22+
composer require georgii-web/php-typed-values:^1.0
1523
```
1624

1725
## Usage

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "georgii-web/php-typed-values",
3-
"description": "Typed value objects library for common php 8.2 data types.",
3+
"description": "Typed value objects library for common php data types.",
44
"type": "library",
55
"license": "MIT",
66
"require": {

0 commit comments

Comments
 (0)