Download the PHP package postalservice14/php-actuator-slim-provider without Composer
On this page you can find all versions of the php package postalservice14/php-actuator-slim-provider. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download postalservice14/php-actuator-slim-provider
More information about postalservice14/php-actuator-slim-provider
Files in postalservice14/php-actuator-slim-provider
Package php-actuator-slim-provider
Short Description Slim Provider for php-actuator
License MIT
Homepage https://github.com/postalservice14/php-actuator-slim-provider
Informations about the package php-actuator-slim-provider
php-actuator-slim-provider
Slim Provider for php-actuator
Install
Via Composer
Registering
Usage
Setup the route you would like your health check on. e.g.:
Then visit your endpoint. In this case: /health
Getting Started
The following is a minimal example to get you started quickly. It uses the DiskSpaceHealthIndicator.
-
Create a composer.json with at minimum, the following dependencies
- Run composer install
-
Create /public/index.php
- Run the service
php -S localhost:8000 -t public public/index.php
- Go to http://localhost:8000/health to see your health indicator.
Example
Available at /example
Change log
Please see CHANGELOG for more information what has changed recently.
Testing
Contributing
Please see CONDUCT for details.
Credits
- John Kelly
- All Contributors
License
The MIT License (MIT). Please see License File for more information.