appserver-io / doppelgaenger
Make PHP structure definition clones which look the same but behave differently
Requires
- php: >=5.4.0
- appserver-io-psr/mop: ~2.0
- herrera-io/annotations: ~1.0
Requires (Dev)
- appserver-io/build: ~1.0
- respect/validation: 0.8.*
This package is auto-updated.
Last update: 2024-10-14 21:29:23 UTC
README
Make PHP structure definition clones which look the same but behave differently
Introduction
Doppelgaenger is created for tampering with PHP structure definitions such as classes before they get loaded and known to the code which uses them. Its main goal is to introduce additional behaviour and logic to code in a simple and controllable manner. To do this doppelgaenger relies on annotations with which additional features can be added.
Doppelgaenger currently supports the known techniques of:
Issues
In order to bundle our efforts we would like to collect all issues regarding this package in the main project repository's issue tracker.
Please reference the originating repository as the first element of the issue title e.g.:
[appserver-io/<ORIGINATING_REPO>] A issue I am having
Semantic versioning
This library follows semantic versioning and its public API defines as follows:
- The public API of its related appserver.io PSR
- The public interface of the
\AppserverIo\Doppelgaenger\AutoLoader
class - The public interface of the
\AppserverIo\Doppelgaenger\Config
class - The syntax and amount of usable annotations (NOT including common annotations such as
@param
and@return
) - The format of its configuration files
External Links
- Documentation at appserver.io (have a look at
AOP
andDesign by Contract
section)