Access to magic fields (PHP)
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
doc
errors
tests
.gitattributes
.gitignore
.travis.yml
ArrayMagic.php
ArrayWrapper.php
CHANGELOG.md
LICENSE
LazyContainer.php
LazyField.php
Named.php
README.md
ReadOnly.php
composer.json
cs.sh
index.php
phpmd.sh
phpmd.xml.dist
phpunit.xml.dist

README.md

axy\magic

Access to magic fields (PHP).

Latest Stable Version Minimum PHP Version Build Status Coverage Status License

  • 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.

The properties and methods defined by these Traits have the prefix magic.