ipresence / monitoring
Installs: 22 068
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Requires (Dev)
- phpspec/phpspec: ^5.1
- pluggit/monitoring: ^2.3
- symfony/config: ^4.2
- symfony/dependency-injection: ^4.2
- symfony/http-kernel: ^4.2
This package is auto-updated.
Last update: 2025-03-17 21:37:55 UTC
README
This project defines a common interface to be able to monitor you application. It has an adapter ready to be used, but feel free to use or add any adapter you need.
How to use it with Symfony
There is a bundle extension that will automatically create a monitor definition in the dependency injection container.
You just need to add IPresence\Monitoring\Symfony\MonitoringBundle::class
in your bundles.php file and this will load the monitoring.yaml
config located inside config/packages/
. You can see an example of configuration here
Development environment
To build the test environment you'll need docker and docker-compose installed:
make dev
Running the tests
make test
You can run the tests only for a php version like this
make unit PHP_VERSION=7.3
Stop the environment
make nodev
Delete the environment
You can delete the docker images for a total clean-up
make nodev IMAGES=true