Download the PHP package axy/magic without Composer
On this page you can find all versions of the php package axy/magic. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Vendor axy
Package magic
Short Description Work with magic fields
License MIT
Homepage https://github.com/axypro/magic
Package magic
Short Description Work with magic fields
License MIT
Homepage https://github.com/axypro/magic
Please rate this library. Is it a good library?
Informations about the package magic
axy\magic
Access to magic fields (PHP).
- The library does not require any dependencies (except composer packages).
- Tested on PHP 5.4+, PHP 7, HHVM (on Linux), PHP 5.5 (on Windows).
- Install:
composer require axy/magic
. - License: MIT.
Documentation
The library provides several features for creating and accessing magic properties.
Most of the features made in the form of Traits. So it can be implemented in classes at any level. And they can be combined with each other.
- ReadOnly - the read-only container
- ArrayMagic - access to fields as array elements
- Named - named objects
- LazyField - lazy fields
- LazyContainer - container with fixed set of lazy properties
- ArrayWrapper - wrapper over an array
- List of errors
The properties and methods defined by these Traits have the prefix magic
.
All versions of magic with dependencies
PHP Build Version
Package Version
The package axy/magic contains the following files
Loading the files please wait ....