PHPackages                             felixsand/phpinisetter - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [CLI &amp; Console](/categories/cli)
4. /
5. felixsand/phpinisetter

ActiveLibrary[CLI &amp; Console](/categories/cli)

felixsand/phpinisetter
======================

Console command for setting php.ini configs

v1.2.0(8y ago)0659MITPHPPHP &gt;=7.1

Since Jul 11Pushed 8y ago1 watchersCompare

[ Source](https://github.com/felixsand/phpinisetter)[ Packagist](https://packagist.org/packages/felixsand/phpinisetter)[ Docs](https://github.com/felixsand/phpinisetter)[ RSS](/packages/felixsand-phpinisetter/feed)WikiDiscussions master Synced yesterday

READMEChangelog (7)Dependencies (2)Versions (8)Used By (0)

PhpIniSetter
============

[](#phpinisetter)

[![Latest Stable Version](https://camo.githubusercontent.com/83a9dc1181c2db1baee9694db818295f1f200432c31189e6540bd6799d1f0dab/68747470733a2f2f706f7365722e707567782e6f72672f66656c697873616e642f706870696e697365747465722f762f737461626c65)](https://packagist.org/packages/felixsand/phpinisetter)[![Build Status](https://camo.githubusercontent.com/06e3895aadb64e46e22ed389bd0125ccefc34e2aa80e6bbc9539d43411841dd0/68747470733a2f2f7472617669732d63692e6f72672f66656c697873616e642f706870696e697365747465722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/felixsand/phpinisetter)[![License](https://camo.githubusercontent.com/49689987f6580ed8b25210050b69562609b3ec5991f6215d7370a9382a48bb84/68747470733a2f2f706f7365722e707567782e6f72672f66656c697873616e642f706870696e697365747465722f6c6963656e7365)](https://packagist.org/packages/felixsand/phpinisetter)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/2f7c1237465d00fb80683e1972935d66c5fc4eb1d25e0bd39eff913c244c5c21/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f66656c697873616e642f706870696e697365747465722f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/felixsand/phpinisetter/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/3a44ba52dbd375474e868a20eb421d81536acb47a1bee6b92c02931a7e2eb5a6/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f66656c697873616e642f706870696e697365747465722f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/felixsand/phpinisetter/?branch=master)[![Dependency Status](https://camo.githubusercontent.com/8db1aa6ccb7ac72472b2008117d2255a32568e8bda01c1cb4d21019e4a0085c3/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f757365722f70726f6a656374732f3537396366373738616137386435303033633137333762392f62616467652e7376673f7374796c653d666c61742d737175617265)](https://www.versioneye.com/user/projects/579cf778aa78d5003c1737b9)

A simple console command for setting a php.ini setting in a convinient way. Useful for example in development or testing environments.

Installation
------------

[](#installation)

Add the package as a requirement to your `composer.json`:

```
$ composer require felixsand/phpinisetter
```

Usage
-----

[](#usage)

You can either use the binary directly (from your application root):

```
$ sudo vendor/bin/phpinisetter phpIni:set
```

or include it in your existing console script

```
#!/usr/bin/env php
