Author: Manuel Lemos
Package: PHP Configurable Interface
Experienced developers usually work on the application in a development environment with specific configuration values adequate for that environment.
In the production environment, applications may use different configuration values in the same application code more suited to the production environment.
This package provides a practical configuration class that allows setting configuration values only once.
This feature is helpful in situations where configuration values will have fixed values that applications should not change.
Such situations are precisely the case when application-wide configuration values are set only once during application initialization.
The possibility of setting multiple boolean configuration values is also helpful to reduce the necessary code to set different configuration settings assigned to the same boolean value.
About the PHP Configurable Interface Package
The package PHP Configurable Interface is one of the few PHP packages that was considered notable recently because it does something that is worth paying attention.
The basic purpose is: Set and get configuration values from one object
Here follows in more detail what it does:
This package can set and get configuration values from one object.
It provides an interface and an abstract class that can set and get several configuration values in the same object.
The package allows to set immutable values that can only be set once and cannot be changed after the initial value assignment.
It also allows to switch a set of boolean values all at once.
Conclusion
The PHP Configurable Interface can be downloaded from download page or be installed using the PHP Composer tool following instructions in the Composer install instructions page.
This package was considered notable for implementing its benefits in a way that is worth noticing.
Notable PHP packages can be often considered innovative. If this package is also innovative, it can be nominated to the PHP Innovation Award and the author may win prizes and recognition for sharing innovative packages.
If you also developed your own notable or innovative packages consider sharing them, so you can also earn more visibility for your package as well nice prizes.
One nice prize that many PHP developers want and you may like is the PHP elePHPant mascot plush.
You need to be a registered user or login to post a comment
Login Immediately with your account on:
Comments:
No comments were submitted yet.