Ratings | | Unique User Downloads | | Download Rankings |
Not yet rated by the users | | Total: 115 | | All time: 9,448 This week: 180 |
|
Description | | Author |
This class can be used to get and set the values of PHP settings dynamically.
It provides means to change the values of given PHP configuration settings from a running PHP script.
The class can also retrieve the current values of any PHP configuration settings. | |
 |
|
Innovation award
 Nominee: 8x
Winner: 1x |
|
Details
PHP ini settings
Change PHP's settings on the fly.
<!--
BADGES:
https://github.com/php-pds/badges
https://poser.pugx.org/
https://php-eye.com/about#badges
https://phppackages.org/p/jawira/case-converter
-->
Usage
Usually you configure PHP through php.ini
file, however it's also possible to
change these settings at runtime:
Set values:
$ini = new Settings();
$oldValue = $ini->set('option-name','value');
Get values:
$ini = new Settings();
$oldValue = $ini->get('option-name');
How to install
@todo
Requirements
@todo
Contributing
To contribute to this project please read CONTRIBUTING.md
License
This library is licensed under the MIT license.
|
Applications that use this package |
|
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.