mirror of
https://github.com/danog/Valinor.git
synced 2024-11-30 04:39:05 +01:00
45 lines
1.7 KiB
Markdown
45 lines
1.7 KiB
Markdown
Valinor • PHP object mapper with strong type support
|
|
====================================================
|
|
|
|
[![Latest Stable Version](https://poser.pugx.org/cuyz/valinor/v)][link-packagist]
|
|
[![PHP Version Require](https://poser.pugx.org/cuyz/valinor/require/php)][link-packagist]
|
|
[![Total Downloads](https://poser.pugx.org/cuyz/valinor/downloads)][link-packagist]
|
|
[![Mutation testing badge](https://img.shields.io/endpoint?style=flat&url=https%3A%2F%2Fbadge-api.stryker-mutator.io%2Fgithub.com%2FCuyZ%2FValinor%2Fmaster)](https://dashboard.stryker-mutator.io/reports/github.com/CuyZ/Valinor/master)
|
|
|
|
---
|
|
|
|
<img src="docs/pages/img/valinor-logo.svg" align="left" width="100"/>
|
|
|
|
Valinor is a PHP library that helps to map any input into a strongly-typed value
|
|
object structure.
|
|
|
|
The conversion can handle native PHP types as well as other well-known advanced
|
|
type annotations like array shapes, generics and more.
|
|
|
|
## Installation
|
|
|
|
```bash
|
|
composer require cuyz/valinor
|
|
```
|
|
|
|
## Documentation
|
|
|
|
Documentation can be found at [valinor.cuyz.io](https://valinor.cuyz.io).
|
|
|
|
## Credits & thank you
|
|
|
|
The development of this library is mainly motivated by the kind words and the
|
|
help of many people. I am grateful to everyone, especially to the [contributors]
|
|
of this repository who directly help to push the project forward.
|
|
|
|
I also want to thank
|
|
[![blackfire-logo] Blackfire](https://www.blackfire.io/?utm_source=valinor&utm_medium=readme&utm_campaign=free-open-source)
|
|
for providing a license of their awesome tool, leading to notable performance
|
|
gains when using this library.
|
|
|
|
[link-packagist]: https://packagist.org/packages/cuyz/valinor
|
|
|
|
[contributors]: https://github.com/CuyZ/Valinor/graphs/contributors
|
|
|
|
[blackfire-logo]: docs/pages/img/blackfire-logo.svg "Blackfire logo"
|