Download the PHP package neunerlei/configuration without Composer
On this page you can find all versions of the php package neunerlei/configuration. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download neunerlei/configuration
More information about neunerlei/configuration
Files in neunerlei/configuration
Package configuration
Short Description Provides you a highly opinionated configuration / plugin loading framework for PHP
License Apache-2.0
Informations about the package configuration
Configuration - a different approach
This package provides you a highly opinionated configuration / plugin loading framework for PHP. It provides built in auto-completion support for your IDE, is compatible with major PSR definitions (PSR-4, PSR-11, PSR-14 and PSR-16), extendable and ditches the needs to write yaml, ini or json files.
Every configuration you write is done as a PHP class, everything you can configure is provided by a configurator class, and the resulting configuration state can be cached (if a cache instance is provided) to run your code without loosing performance.
This configuration framework is designed for extendable/pluggable projects, where other developers need to configure your code, or provide their own configuration in their plugins. Therefore, it does not make much sense if you use this library in a small codebase you write for yourself. If you, however, are working on a piece of software that should be extendable your users / clients / customers will love the clean API this way of configuring will provide; even if it might look a bit odd at first glance.
Documentation
The documentation can be found here.
Running tests
- Clone the repository
- Install the dependencies with
- Run the tests with
Building the documentation
The documentation is powered by vuepress, you can quite simply spin up a dev server like so:
- Clone the repository
- Navigate to
- Install the dependencies with
- Run the dev server with
Special Thanks
Special thanks goes to the folks at LABOR.digital (which is the german word for laboratory and not the english "work" :D) for making it possible to publish my code online.
Postcardware
You're free to use this package, but if it makes it to your production environment I highly appreciate you sending me a postcard from your hometown, mentioning which of our package(s) you are using.
You can find my address here.
Thank you :D
All versions of configuration with dependencies
psr/simple-cache Version ^1.0
psr/container Version ^1.0.0
psr/event-dispatcher Version ^1.0
laminas/laminas-file Version ^2.8
marcj/topsort Version ^2.0
neunerlei/path-util Version ^2.4
neunerlei/arrays Version ^3.2.0