Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gritzkoo/php-health-checker-example-app
A laravel project to show how simple use package gritzkoo/php-health-checker
https://github.com/gritzkoo/php-health-checker-example-app
Last synced: about 2 months ago
JSON representation
A laravel project to show how simple use package gritzkoo/php-health-checker
- Host: GitHub
- URL: https://github.com/gritzkoo/php-health-checker-example-app
- Owner: gritzkoo
- License: mit
- Created: 2022-06-26T22:18:10.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-06-26T23:11:41.000Z (over 2 years ago)
- Last Synced: 2024-10-14T01:45:23.989Z (3 months ago)
- Language: PHP
- Size: 108 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PHP Health Checker example test project
This project was created to show how to use composer package `gritzkoo/php-health-checker` for
## Instructions
1. Clone this repository
```sh
git clone https://github.com/gritzkoo/php-health-checker-example-app
```2. Available commands
```sh
make start # will bootstrap the project, needs docker docker-compose
make up # will start laravel and open browser to navigate in livenss and readiness actions
make down # stop all services
make test # runs laravel test, generate coverages, and open browse to see how to test integrations
```## Extending gritzkoo/php-health-checker package
[app/Services/HealthCheckerService.php](app/Services/HealthCheckerService.php "example service")
## Example writing API integrations with test
[app/Api/FakeApi1/FakeApi1.php](app/Api/FakeApi1/FakeApi1.php "example api 1")
[app/Api/FakeApi2/FakeApi2.php](app/Api/FakeApi2/FakeApi2.php "example api 2")