NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist, #2485 most downloaded on Packagist
An aspect oriented framework
Latest stable
2.20.2
Last release 2 months ago
03 Sep 2026
Release timing varies
gaps range from 2 weeks to 9 months
Most releases are documented
notes for 53 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
14 years old
92 releases · first in 2013
Drag across the ruler to compare, or tap a release to open it.
This release ignore file timestamp to create code-gen AOP file. #74
This release ignore file timestamp to create code-gen AOP file. #74
This release fix the bug for Matcher::logicalOr and Matcher::logicalAndwhen parameters takes more than 3 conditions. #69
This release fix the bug for Matcher::logicalOr and Matcher::logicalAndwhen parameters takes more than 3 conditions. #69
Thanks @fiahfy !
This release drop unsupported php versions. (5.4 and 5.5)
This release drop unsupported php versions. (5.4 and 5.5)
Your coding agent can read these notes before it upgrades. Set up the MCP server →
This release fix set return type with no parameters in php7. #63 Thanks @kuma-guy ! 👍
This release fix set return type with no parameters in php7. #63 Thanks @kuma-guy ! 👍
This release add the support php7 scalar type hint and return type.
This release add the support php7 scalar type hint and return type. #62
Thanks @kuma-guy
This release supports php parser 1 and 2. #61
This release supports php parser 1 and 2. #61
Thanks @WyriHaximus
This release provides better annotation reading. It makes easy and performance boost.
This release provides better annotation reading. It makes easy and performance boost.
An alternate package reflection have get-annotation method. #60
/** @var $method \Ray\Aop\ReflectionMethod */
$method = $invocation->getMethod();
/** @var $class \Ray\Aop\ReflectionClass */
$class = $invocation->getMethod()->getDeclaringClass();
$method->getAnnotations() - Get method annotations$method->getAnnotation($name) - Get method annotation$class->getAnnotations() - Get class annotations$class->getAnnotation($name) - Get class annotationYou don't need doctrine annotation reader in your interceptor for annotation.
behind scene:
Annotations are serialized and attached to generated intercepting class as caching data. It makes generated code and cached annotation synchronized sure. A code is generated on original file timestamp base.
class Ray_Aop_FakeAnnotateClass_OWAJSAU extends Ray\Aop\FakeAnnotateClass implements Ray\Aop\WeavedInterface
{
private $isIntercepting = true;
public $bind;
public $methodAnnotations = 'a:1:{s:9:"getDouble";a:3:{s:19:"Ray\\Aop\\FakeMarker3";O:19:"Ray\\Aop\\FakeMarker3":0:{}s:19:"Ray\\Aop\\FakeMarker2";O:19:"Ray\\Aop\\FakeMarker2":0:{}s:18:"Ray\\Aop\\FakeMarker";O:18:"Ray\\Aop\\FakeMarker":0:{}}}';
public $classAnnotations = 'a:2:{s:20:"Ray\\Aop\\FakeResource";O:20:"Ray\\Aop\\FakeResource":0:{}s:27:"Ray\\Aop\\FakeClassAnnotation";O:27:"Ray\\Aop\\FakeClassAnnotation":1:{s:5:"value";s:4:"item";}}';
}
It is fast.
This release add AbstractAssisted annotation class. See more at #59
This release add AbstractAssisted annotation class. See more at #59
This release fix bug #53 #54 , logicalOr, logicalAnd or logicalNot can take the parameters.
This release fix bug #53 #54 , logicalOr, logicalAnd or logicalNot can take the parameters.
This release give the feature aspect compiler only generate intercepted method.
This release give the feature aspect compiler only generate intercepted method.
This release add class dir writable check. The compiler throws NotWritableException when not writable directory path is given.
This release add class dir writable check. The compiler throws NotWritableException when not writable directory path is given.
ADD: Interceptors order priority by annotation order.
Initial 2.0 stable release.
Nothing published for this version
Nothing published for this version
feature complete
Nothing published for this version
Nothing published for this version
NEW Method annotation determine priority to apply interceptors
composer update ("nikic/php-parser": "~1.0")
add Compiler::noBindNewInstance() for #28
Compiler::noBindNewInstance() for #28Matcher::setAnnotationReader($annotationReader); for annotation reading performance.Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
- Bug fix [#21] thanks @mugeso - PSR4 layout
[4ec9670c3312996d82fb459ac767b07cc2311085] Remove PHPParser_Parser from property. Loading cost of PHPParser_Parser was huge. this medication makes Ray
PHPParser_Parser from property. Loading cost of PHPParser_Parser was huge. this medication makes Ray.Aop unserialization much faster.Nothing published for this version
[#12] Deprecated: ReflectiveMethodInvocation.php::getAnnotation()
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.