定制 maple-syrup-group/healthcheck 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

maple-syrup-group/healthcheck

Composer 安装命令:

composer require maple-syrup-group/healthcheck

包简介

README 文档

README

This package will scan your laravel 5.x's application config files and identify key dependencies of your application. It will check:

  • cache, database, queue backends can be connected to.
  • your required php version and php extensions
  • that all migrations have been run
  • that important directories are writable
  • sessions are disabled

Build Status

How to execute from command line

php artisan infra:healthcheck

[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

How to execute from HTTP

A /healthcheck URI is configured to trigger this from a HTTP context

http://some.app/healthcheck

[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

Production vs Development modes

There are some production-style checks such as xdebug being disabled.

If you wish to run this on a a local environment then you need to pass additional arguments.

HTTP Value: prod Default: true Usage: ?prod=false or ?prod=true

CLI Value: env Default: false Usage: --env=production

统计信息

  • 总下载量: 66
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 3
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2016-07-19

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固