PHPackages                             deskti/laravel-config-writer - 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. deskti/laravel-config-writer

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

deskti/laravel-config-writer
============================

Configuration extension

1.0.5(8y ago)32.9k[1 issues](https://github.com/deskti/laravel-config-writer/issues)MITPHPPHP &gt;=5.6.4

Since Jul 22Pushed 8y agoCompare

[ Source](https://github.com/deskti/laravel-config-writer)[ Packagist](https://packagist.org/packages/deskti/laravel-config-writer)[ Docs](http://octobercms.com)[ RSS](/packages/deskti-laravel-config-writer/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (1)Versions (7)Used By (0)

Laravel Config Writer for version 5.4
-------------------------------------

[](#laravel-config-writer-for-version-54)

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, booleans and single-dimension arrays.

### Usage Instructions

[](#usage-instructions)

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

```
'October\Rain\Config\ConfigServiceProvider',
```

You can now write to config files:

```
Config::write('app.url', 'http://octobercms.com');
```

### Usage outside Laravel

[](#usage-outside-laravel)

The `Rewrite` class can be used anywhere.

```
$writeConfig = new October\Rain\Config\Rewrite;
$writeConfig->toFile('path/to/config.php', [
    'item' => 'new value',
    'nested.config.item' => 'value',
    'arrayItem' => ['Single', 'Level', 'Array', 'Values'],
    'numberItem' => 3,
    'booleanItem' => true
]);
```

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance13

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~50 days

Recently: every ~63 days

Total

6

Last Release

2965d ago

PHP version history (2 changes)1.0.0PHP &gt;=5.4.0

1.0.5PHP &gt;=5.6.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/150164ecc015be92abc7a64740ff5d1ba37d8e0333e3774a8a4446305aa705a4?d=identicon)[socramjunio2](/maintainers/socramjunio2)

---

Top Contributors

[![socramjunio2](https://avatars.githubusercontent.com/u/21258161?v=4)](https://github.com/socramjunio2 "socramjunio2 (6 commits)")

---

Tags

laravelconfigwritedeskti

### Embed Badge

![Health badge](/badges/deskti-laravel-config-writer/health.svg)

```
[![Health](https://phpackages.com/badges/deskti-laravel-config-writer/health.svg)](https://phpackages.com/packages/deskti-laravel-config-writer)
```

###  Alternatives

[daftspunk/laravel-config-writer

Laravel provider to be able to rewrite configuration

17548.8k1](/packages/daftspunk-laravel-config-writer)[akaunting/laravel-setting

Persistent settings package for Laravel

495805.1k7](/packages/akaunting-laravel-setting)

PHPackages © 2026

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