All Projects → bnomei → kirby3-doctor

bnomei / kirby3-doctor

Licence: MIT license
Plugin to check health of your CMS installation

Programming Languages

PHP
23972 projects - #3 most used programming language
Vue
7211 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to kirby3-doctor

kirby3-instagram
Kirby 3 Plugin to call Instagram (or any other) API Endpoints
Stars: ✭ 20 (+5.26%)
Mutual labels:  kirby3, kirby3-cms, kirby3-plugin
kirby3-redirects
Setup HTTP Status Code Redirects from within the Kirby Panel
Stars: ✭ 14 (-26.32%)
Mutual labels:  kirby3, kirby3-cms, kirby3-plugin
k3-image-clip
Visually crop images with a handy image editor directly inside the panel
Stars: ✭ 38 (+100%)
Mutual labels:  kirby3, kirby3-cms, kirby3-plugin
kirby3-ray
Helper tool that enables ray on all the extendable methods.
Stars: ✭ 17 (-10.53%)
Mutual labels:  kirby3, kirby3-cms, kirby3-plugin
kirby-minify-html
Enable minify HTML output for Kirby 3
Stars: ✭ 27 (+42.11%)
Mutual labels:  kirby3, kirby3-cms, kirby3-plugin
kirby3-bolt
Kirby 3 Plugin for a fast Page lookup even in big content trees
Stars: ✭ 24 (+26.32%)
Mutual labels:  kirby3, kirby3-cms, kirby3-plugin
k3-panel-view-extended
Quick fix for some missing features in the panel
Stars: ✭ 24 (+26.32%)
Mutual labels:  kirby3, kirby3-plugin
kirby3-similar
Find similar collection items based on similarity
Stars: ✭ 16 (-15.79%)
Mutual labels:  kirby3, kirby3-plugin
reporter-for-kirby
Gather feedback directly out of the Panel!
Stars: ✭ 27 (+42.11%)
Mutual labels:  kirby3, kirby3-plugin
nestjs-redis
Redis(ioredis) module for NestJS framework
Stars: ✭ 112 (+489.47%)
Mutual labels:  health, check
react-health-check
Lightweight React hook for checking health of API services.
Stars: ✭ 28 (+47.37%)
Mutual labels:  health, check
komments
A Kirby 3 comment plugin
Stars: ✭ 28 (+47.37%)
Mutual labels:  kirby3, kirby3-plugin
chr247.com
An open source multi tenant cloud platform for small scale clinics
Stars: ✭ 56 (+194.74%)
Mutual labels:  doctor, health
go-health
❤️ Health check your applications and dependencies
Stars: ✭ 91 (+378.95%)
Mutual labels:  health
kirby3-many-to-many-field
This plugin allows you to create many-to-many relationships between pages in Kirby and synchronizes them on both sides.
Stars: ✭ 38 (+100%)
Mutual labels:  kirby3
rn-fitness-tracker
React Native module to interact with Google Fit and Apple HealthKit.
Stars: ✭ 58 (+205.26%)
Mutual labels:  health
lifelights
Video games blended with home automation. Control your IoT devices based on in-game statuses!
Stars: ✭ 80 (+321.05%)
Mutual labels:  health
Online-Appointment-Booking-System
An Online Appointment Booking System for Retail Chain Clinics with both the User as well as the Admin Side.
Stars: ✭ 95 (+400%)
Mutual labels:  doctor
kirby-securedpages
Protect pages for authenticated users
Stars: ✭ 28 (+47.37%)
Mutual labels:  kirby3
Weeping-Angels
Minecraft Mod - Adds the terrifying Weeping Angels to the Game, Minecraft. Don't Blink!
Stars: ✭ 22 (+15.79%)
Mutual labels:  doctor

With Kirby 3.7 introducing an improved system view most important checks have been covered. Thus I will not continue to work on this plugin.

Kirby 3 Doctor

Release Downloads Build Status Coverage Status Maintainability Twitter

Plugin to check health of your CMS installation

Commercial Usage


Support open source!

This plugin is free but if you use it in a commercial project please consider to sponsor me or make a donation.
If my work helped you to make some cash it seems fair to me that I might get a little reward as well, right?

Be kind. Share a little. Thanks.

‐ Bruno
 
M O N E Y
Github sponsor Patreon Buy Me a Coffee Paypal dontation Hire me

Installation

  • unzip master.zip as folder site/plugins/kirby3-doctor or
  • git submodule add https://github.com/bnomei/kirby3-doctor.git site/plugins/kirby3-doctor or
  • composer require bnomei/kirby3-doctor

Screenshots

doctor

Usage Kirby Panel

This plugin will register a Panel Area "Doctor". Many thanks to @Daandelange for PRing this feature. Alternatively you could also add the button to perform the checks on any other view.

fields:
  doctor:
    type: doctor
    label: Perform checks
    # progress: Performing checks...

Usage Kirby API (post Authentification)

let doctor = fetch('https://kirby3-plugins.bnomei.com/api/plugin-doctor/check')
  .then(response => response.json())
  .then(json => {
      console.log(json);
  });

Provided Checks

  • CheckPHPVersion (laminas): Kirby installation requirements
  • CheckPHPExtension (laminas): Kirby installation requirements
  • CheckKirbyFolders (laminas): Read/Write-Access to core Kirby folders
  • CheckGitFolder: No public .git folder
  • CheckHtaccess: Has a .htaccess file
  • CheckKirbyAccount: Has at least one account
  • CheckKirbyCacheSize: Cache folder not too big
  • CheckKirbyLicense: License exists (on non localhost)
  • CheckKirbyMediaSize: Media folder not too big
  • CheckKirbySystem: Kirby build-in system checks
  • CheckKirbyVersion: Is Kirby up-to-date
  • CheckSSL: Using https scheme

Custom Checks

You can add custom checks or disable build checks using the checks setting in the config file.

return [
    'bnomei.doctor.checks' => [
        "MyNamespace\\MyClass" => true, // enable new
        "Bnomei\\CheckKirbyCacheSize" => false, // disable build-in
    ],
    // ...
];

You can also use your own plugin to define checks (since 1.2.0). Many thanks to @fabianmichael for the great idea.

Kirby::plugin('my/plugin', [        // your plugin
  'bnomei.doctor.checks' => [       // required option id
    "MyNamespace\\MyClass" => true, // enable new
  ],
]);

Contribute: You have an idea for a check or a plugin defining a check? Please create a new issue or submit a PR.

Settings

bnomei.doctor. Default Description
expire 24*60 minutes to cache the results and not run tests again
debugforce true will expire the cache every time if option('debug') is true as well.
checks [] example: ["MyNamespace\\MyCheckClass" => true, "Bnomei\\CheckGitFolder" => false] Attention: Namespaces must use \\-notion.
log.enabled true will create a log file if Kirby Log Plugin is installed as well.
log callback to kirbyLog()

Credits

Disclaimer

This plugin is provided "as is" with no guarantee. Use it at your own risk and always test it yourself before using it in a production environment. If you find any issues, please create a new issue.

License

MIT

It is discouraged to use this plugin in any project that promotes racism, sexism, homophobia, animal abuse, violence or any other form of hate speech.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].