PHP Classes

php.ini Settings Manager: Get and set the values of PHP settings dynamically

Recommend this page to a friend!
  Info   View files Documentation   View files View files (10)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 118 This week: 1All time: 9,514 This week: 560Up
Version License PHP version Categories
php-ini-settings 1.0Custom (specified...5PHP 5, Language, Configuration
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.

Picture of jawira
  Performance   Level  
Name: jawira <contact>
Classes: 11 packages by
Country: Belgium Belgium
Age: ???
All time rank: 302416 in Belgium Belgium
Week rank: 411 Up3 in Belgium Belgium Up
Innovation award
Innovation award
Nominee: 9x

Winner: 2x

Documentation

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.


  Files folder image Files  
File Role Description
Files folder imagebin (1 file)
Files folder imagesrc (2 files)
Accessible without login Plain text file .editorconfig Data Auxiliary data
Accessible without login Plain text file build.xml Data Auxiliary data
Accessible without login Plain text file CHANGELOG.md Data Auxiliary data
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file LICENSE.md Lic. License text
Accessible without login Plain text file phive.xml Data Auxiliary data
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files  /  bin  
File Role Description
  Accessible without login Plain text file generate-constants.php Aux. Auxiliary script

  Files folder image Files  /  src  
File Role Description
  Plain text file Key.php Class Class source
  Plain text file Settings.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:118
This week:1
All time:9,514
This week:560Up