Download the PHP package veewee/reflecta without Composer
On this page you can find all versions of the php package veewee/reflecta. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download veewee/reflecta
More information about veewee/reflecta
Files in veewee/reflecta
Package reflecta
Short Description Unleash the Power of Optics in your code!
License MIT
Informations about the package reflecta
Welcome to Reflecta!
Transform your data like never before with this optics implementation – a set of sleek, intuitive tools designed to empower your code with the finesse of reflection, the precision of lenses, and the magic of Isomorphisms. Say goodbye to the complexities, and hello to a world where building, accessing and manipulating your data structures becomes as effortless as a brushstroke on a canvas.
Dive into this Optics Toolkit, where coding meets artistry, and simplicity meets power. It's not just about data – it's about orchestrating a symphony of possibilities. Your data has never looked so good!
Installation
Reflecta is installed via Composer.
Requires PHP 8.1+
Warning. This package is primarily published to receive early feedback and for contributors, during this development phase we cannot guarantee the stability of the APIs, consider each release to contain breaking changes.
Psalm support
This package is created with type-safety and error awareness in mind.
In order to have better type inference, this package comes shipped with a psalm plugin. You can enable it by:
Requires vimeo/psalm 5+
Components
This package provides following components:
- ArrayAccess: Helps you read from and write to arrays.
- Iso: Provides bidirectional transformations on your data.
- Lens: Separate your data from it's structure
- Reflect: Helps you read from and write to objects in a runtime-safe context.
Inspiration
This library was inspired by the following projects: