fredbradley / laravel-version-health-check
Spatie Laravel Health Checks that check your Laravel Application's and PHP's version against the latest version release
Package info
github.com/fredbradley/laravel-version-health-check
pkg:composer/fredbradley/laravel-version-health-check
Requires
- php: ^8.3
- illuminate/support: ^10.0|^11.0|^12.0|^13.0
- spatie/laravel-health: ^1.37
Requires (Dev)
- orchestra/testbench: ^8.0|^9.0|^10.0
- pestphp/pest: ^2.0|^3.0
- pestphp/pest-plugin-laravel: ^2.0|^3.0
README
Spatie Laravel Health Checks that check your Laravel Application's and PHP's version against the latest available release.
Instructions
First, ensure that Spatie Laravel Health is set up and working as expected on your instance. Documentation can be found here.
Then install this package:
composer require fredbradley/laravel-version-health-check
This registers two checks, "Laravel Version" and "PHP Version". If you have health checks already using those names, you will have a conflict. Otherwise, it works out of the bag.
As per the other Spatie Laravel Health documentation.
Contribution
You're very welcome to submit PRs.
Suggested features you could work on
- Ability to customise the Health Check Name.
- Change how long the cache stores the results from the GitHub API.
- Add a Github auth token so we're less likely to be rate limited. OR change the check to use the packagist.org api instead.