Download the PHP package eeliu/php_simple_aop without Composer
On this page you can find all versions of the php package eeliu/php_simple_aop. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download eeliu/php_simple_aop
More information about eeliu/php_simple_aop
Files in eeliu/php_simple_aop
Download eeliu/php_simple_aop
More information about eeliu/php_simple_aop
Files in eeliu/php_simple_aop
Vendor eeliu
Package php_simple_aop
Short Description A simple Aop library via php-parse
License BSD-3-Clause
Package php_simple_aop
Short Description A simple Aop library via php-parse
License BSD-3-Clause
Please rate this library. Is it a good library?
Informations about the package php_simple_aop
Issues
https://github.com/pinpoint-apm/pinpoint-c-agent/labels/php-aop
Requirements
- php 7.0 ~ php 8.3
- ext-pinpoint_php: "^0.5.2" ( Guide 📑 )
How to use
1. Import from packagist
composer require pinpoint-apm/pinpoint-php-aop
2. Add pinpoint entry into your entry file(eg: index.php)
Write your own plugins
Only for developers
#### Steps 1. Write your own plugins(if needs). Here are some plugins template. - [pRedisCall.php](lib/Pinpoint/Plugins/autoload/_predis/pRedisCall.php) - [GuzzlePlugin.php](lib/Pinpoint/Plugins/autoload/_GuzzleHttp/GuzzlePlugin.php) 2. Use `AspectClassHandle` to combine target class with plugin class. 3. Extend `DefaultRequestPlugin` and implement `joinedClassSet`. Examples: - [Yii2PerRequestPlugins](lib/Pinpoint/Plugins/Yii2PerRequestPlugins.php) - [DefaultRequestPlugin](lib/Pinpoint/Plugins/DefaultRequestPlugin.php)Our test project
- For yii2, Yii2PerRequestPlugins example
- pinpoint-c-agent/SimplePHP
- pinpoint-c-agent/cachethq
- pinpoint-c-agent/flarum
- pinpoint-c-agent/php_phpmyadmin
- pinpoint-c-agent/php_wordpress
How it works
- Use
nikic/PHP-Parser
generating glue layer code - Use namespace replace to reuse plugins or hook build-in class/function
- Intercept php classloader to redirect origin class to new class
pinpoint-php-aop wrappers your class with an onBefore/onEnd/onException suite.
Blog
Supported libraries/framework
Libraries
Type|Name|Version ---|---|--- Built-in | curl| ||memcached|`3.2.0` ||mysqli| ||pdo| ||phpredis|`6.0.2` ||apcu| |User |guzzlehttp| `8.0.x-dev` ||predis|`3.0` ||mongodb|`v1.19.x`Frameworks
Name|Version| |---|---| |Yii2|| |wordpress|| |thinkphp8|| |laravel||Data Chart Map
There are some examples into lib/pinpoint/test/Comparison/pinpoint/test
Needs Help/Issues
Copyright
All versions of php_simple_aop with dependencies
PHP Build Version
Package Version
Requires
nikic/php-parser Version
^4.1
The package eeliu/php_simple_aop contains the following files
Loading the files please wait ....