bolt/configuration-notices

Helper library to provide some helpful functionality to people, mostly by warning the user for common pitfalls and oversights in the basic configuration.

1.0.9 2018-02-01 07:23 UTC

This package is auto-updated.

Last update: 2022-11-29 02:26:41 UTC


README

Friendly helpers for your Bolt installation. This extension comes bundled with the packaged distribution version of Bolt (commonly known as "The tar or zip version"). This extension provides helpful tips to prevent common pitfalls, in a range of different situations.

To install this extension in your custom bootstrapped version of Bolt, run the following in the root folder with your main composer.json:

composer require bolt/configuration-notices

7e22d8c8-bbdd-11e6-9668-48a1ec86ba04

You can influence a few of the checks through the configuration. How meta!

debug_local_domains: [ '.localhost' ]

configuration_notices:
    log_threshold: 1000
  • local_domains can be set to contain (parts of) domain names, and is used in the check to determine if the current installation is considered to be "local" or "production".
  • log_threshold is used to determine what is considered 'a lot of rows' in the checks for the Change log and System log, to give a suggestion to trim the database tables.