kaz29 / phai
Phai is PSR-15 compliant middleware for Application Insights.
Installs: 7 973
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 1
Open Issues: 5
Requires
- microsoft/application-insights: dev-master
- psr/http-message: ^1.0
- psr/http-server-middleware: ^1.0
- psr/log: ^1.1|^2.0
Requires (Dev)
- phpunit/phpunit: ~7|~8|~9
- dev-master
- 1.0.11
- 1.0.10
- 1.0.9
- 1.0.8
- 1.0.7
- 1.0.6
- 1.0.5
- 1.0.4
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
- dev-dependabot/composer/examples/cakephp3/guzzlehttp/psr7-1.9.1
- dev-dependabot/composer/examples/slim3/guzzlehttp/psr7-1.9.1
- dev-dependabot/composer/examples/cakephp3/composer/composer-1.10.26
- dev-feature/cakephp-4-example
This package is auto-updated.
Last update: 2024-10-25 04:12:48 UTC
README
Phai is PSR-15 compliant middleware for Application Insights.
Installation
Install the latest version with
$ composer require kaz29/phai:dev-master
Basic Usage
Framework Integrations
Frameworks or libraries using PSR-15 can be used very easily with this middleware.
Slim3
How to setup
$ cd examples/slim3
$ composer install
$ env APPLICATION_INSIGHTS_KEY='Your application insights "Instrumentation Key"' php -S localhost:8080 -t public public/index.php
CakePHP-3.x
Hot to setup
$ cd examples/cakephp
$ composer install
$ env APPLICATION_INSIGHTS_KEY='Your application insights "Instrumentation Key"' ./bin/cake server
Laravel
TBD
Author
Kazuhiro Watanabe - cyo [at] mac.com - https://twitter.com/kaz_29
License
Phai is licensed under the MIT License - see the LICENSE file for details