Download the PHP package kariricode/configurator without Composer
On this page you can find all versions of the php package kariricode/configurator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download kariricode/configurator
More information about kariricode/configurator
Files in kariricode/configurator
Package configurator
Short Description A flexible and efficient configuration management component for the KaririCode Framework, providing robust configuration handling for PHP applications.
License MIT
Homepage https://kariricode.org/
Informations about the package configurator
KaririCode Framework: Configuration Component
A flexible and powerful configuration management component for the KaririCode Framework, providing robust configuration handling capabilities for PHP applications.
Features
- Support for multiple configuration file formats (PHP, JSON, YAML)
- Hierarchical configuration structure
- Easy access to configuration values
- Configuration validation
- Merge strategies for combining multiple configuration sources
- Extensible loader system for custom configuration sources
- Secure handling of sensitive configuration data
Installation
To install the KaririCode Configuration component, run the following command:
Basic Usage
Step 1: Setting Up Configuration Files
Create your configuration files in the supported formats (PHP, JSON, or YAML). For example:
Step 2: Initializing the Configuration Manager
Set up the Configuration manager in your application's bootstrap file:
Step 3: Accessing Configuration Values
Once the configuration is loaded, you can access values like this:
Step 4: Using Environment-Specific Configuration
You can load environment-specific configuration files:
Advanced Usage
Custom Loaders
You can create custom loaders for specific file types:
Merge Strategies
The component supports different merge strategies for combining configurations:
Validation
The component includes automatic validation of configuration values:
Testing
To run tests for the KaririCode Configuration Component, use PHPUnit:
For test coverage:
License
This project is licensed under the MIT License - see the LICENSE file for details.
Support and Community
- Documentation: https://kariricode.org
- Issue Tracker: GitHub Issues
- Community: KaririCode Club Community
- Professional Support: For enterprise-level support, contact us at [email protected]
Acknowledgments
- The KaririCode Framework team and contributors.
- The PHP community for their continuous support and inspiration.
Built with ❤️ by the KaririCode team. Empowering developers to build more robust and flexible PHP applications.
Maintained by Walmir Silva - [email protected]
All versions of configurator with dependencies
kariricode/contract Version ^2.6
kariricode/data-structure Version ^1.0
symfony/yaml Version ^6.3