Skip to content

Commit

Permalink
Merge pull request #661 from icarus94/feature/php-83-support
Browse files Browse the repository at this point in the history
PHP 8.3 support
  • Loading branch information
Ocramius committed Jan 9, 2024
2 parents 1679eaa + fee6448 commit f751923
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 22 deletions.
7 changes: 4 additions & 3 deletions README.md
Expand Up @@ -14,19 +14,20 @@ extracting data from other objects, or filling them with data.

A hydrator performs following operations:

* Convert `Object` to `array`
* Put data from an `array` into an `Object`
* Convert `Object` to `array`
* Put data from an `array` into an `Object`

GeneratedHydrator uses proxying to instantiate very fast hydrators, since this will allow access to protected properties
of the object to be handled by the hydrator.

Also, a hydrator of GeneratedHydrator implements `Laminas\Hydrator\HydratorInterface`.

## Installation

To install GeneratedHydrator, install [Composer](https://getcomposer.org/download/) and issue the following command:

```bash
$ composer require ocramius/generated-hydrator
composer require ocramius/generated-hydrator
```

## Usage
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Expand Up @@ -19,10 +19,10 @@
}
],
"require": {
"php": "~8.1.0 || ~8.2.0",
"nikic/php-parser": "^4.16.0",
"ocramius/code-generator-utils": "^1.6.0",
"laminas/laminas-hydrator": "^4.14.0"
"php": "~8.1.0 || ~8.2.0 || ~8.3.0",
"laminas/laminas-hydrator": "^4.14.0",
"nikic/php-parser": "^4.16.0",
"ocramius/code-generator-utils": "^1.7.0"
},
"require-dev": {
"doctrine/coding-standard": "^11.1.0",
Expand Down
30 changes: 15 additions & 15 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f751923

Please sign in to comment.