PHPackages                             infinety-es/config - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. infinety-es/config

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

infinety-es/config
==================

Edit and write config files for laravel 5.1 and up

1.2(9y ago)13.0k11MITPHPPHP &gt;=5.4.0

Since May 19Pushed 9y ago1 watchersCompare

[ Source](https://github.com/Krato/laravel-config-writer)[ Packagist](https://packagist.org/packages/infinety-es/config)[ Docs](http://infinety.es)[ RSS](/packages/infinety-es-config/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (1)Versions (4)Used By (1)

Laravel Config Writer
---------------------

[](#laravel-config-writer)

Write to Laravel Config files and maintain file integrity.

This library is an extension of the Config component used by Laravel. It adds the ability to write to configuration files.

You can rewrite array values inside a basic configuration file that returns a single array definition (like a Laravel config file) whilst maintaining the file integrity, leaving comments and advanced settings intact.

The following value types are supported for writing: strings, integers and booleans.

### Usage Instructions

[](#usage-instructions)

Install through composer:

```
composer require "infinety-es/config"
```

Add this to `app/config/app.php` under the 'providers' key:

```
'Infinety\Config\ConfigServiceProvider',
```

You can now write to config files:

```
Config::write('app.url', 'http://infinety.es');

```

### Usage outside Laravel

[](#usage-outside-laravel)

The `Rewrite` class can be used anywhere.

```
$writeConfig = new Infinety\Config\Rewrite;
$writeConfig->toFile('path/to/config.php', [
    'item' => 'new value',
    'nested.config.item' => 'value'
]);
```

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 53.6% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~149 days

Total

3

Last Release

3396d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3865030b01e29299f1f6837852ba6a70fea204ceb46e58a917d4e4398268800f?d=identicon)[Krato1](/maintainers/Krato1)

---

Top Contributors

[![greatwitenorth](https://avatars.githubusercontent.com/u/547583?v=4)](https://github.com/greatwitenorth "greatwitenorth (15 commits)")[![daftspunk](https://avatars.githubusercontent.com/u/1392869?v=4)](https://github.com/daftspunk "daftspunk (9 commits)")[![Krato](https://avatars.githubusercontent.com/u/74367?v=4)](https://github.com/Krato "Krato (2 commits)")[![martink635](https://avatars.githubusercontent.com/u/444687?v=4)](https://github.com/martink635 "martink635 (2 commits)")

---

Tags

laravelconfigwriteeditinfinety

### Embed Badge

![Health badge](/badges/infinety-es-config/health.svg)

```
[![Health](https://phpackages.com/badges/infinety-es-config/health.svg)](https://phpackages.com/packages/infinety-es-config)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3345.1M337](/packages/psalm-plugin-laravel)[daftspunk/laravel-config-writer

Laravel provider to be able to rewrite configuration

17651.1k1](/packages/daftspunk-laravel-config-writer)[infinety-es/config-manager

Package to edit and view config files

112.5k](/packages/infinety-es-config-manager)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
