dev-master
9999999-dev
MIT
The Requires
The Development Requires
laravel healthcheck
Wallogit.com
2017 © Pedro Peláez
This package will scan your laravel 5.x's application config files and identify key dependencies of your application. It will check:, (*1)
``` php php artisan infra:healthcheck, (*3)
[OK] PHP Extensions [OK] PHP Extension Config [OK] Database connection user [OK] Database connection content [OK] Default database connection found [OK] Sessions are disabled [OK] Cache connection for driver: array [OK] Cache connection for driver: file [OK] Cache connection for driver: redis, (*4)
### How to execute from HTTP A `/healthcheck` URI is configured to trigger this from a HTTP context
http://some.app/healthcheck, (*5)
[OK] PHP Extensions [OK] PHP Extension Config [OK] Database connection user [OK] Database connection content [OK] Default database connection found [OK] Sessions are disabled [OK] Cache connection for driver: array [OK] Cache connection for driver: file [OK] Cache connection for driver: redis, (*6)
```, (*7)
There are some production-style checks such as xdebug being disabled., (*8)
If you wish to run this on a a local environment then you need to pass additional arguments., (*9)
HTTP
Value: prod
Default: true
Usage: ?prod=false or ?prod=true, (*10)
CLI
Value: env
Default: false
Usage: --env=production, (*11)
MIT
laravel healthcheck