Download the PHP package drago-ex/bootstrap without Composer
On this page you can find all versions of the php package drago-ex/bootstrap. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download drago-ex/bootstrap
More information about drago-ex/bootstrap
Files in drago-ex/bootstrap
Package bootstrap
Short Description The `ExtraConfigurator` class extends Nette's configuration by searching for `.neon` files across directories and caching the results, with automatic cache invalidation in development.
License MIT
Informations about the package bootstrap
Drago Bootstrap
ExtraConfigurator
is a class built on top of Nette Framework's Configurator
to simplify
loading and caching of configuration files in .neon
format. It automatically handles
caching in development and production environments.
Requirements
- PHP 8.3 or higher
- composer
Installation
Make sure you have Nette Framework installed in your project.
Basic Usage
Adding Configuration Files
To load configuration files from a specified directory:
Adding Multiple Directories
You can also provide multiple directories for configuration files:
Excluding Files or Directories
You can exclude certain files or directories from being loaded:
This will load all .neon
files from the config
directory except exclude.neon
.
Cache Management
In development mode, the cache is invalidated after each request to allow immediate updates. In production mode, the cache is stored without expiration unless the configuration files are modified.
All versions of bootstrap with dependencies
nette/bootstrap Version ^3.2
nette/utils Version ^4.0
nette/caching Version ^3.2
nette/application Version ^3.1