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

ActivePackage

ideatica/config-writer
======================

Save changes to the configuration file in script.

v1.0.2(9y ago)0594MITPHP

Since Dec 11Pushed 9y ago1 watchersCompare

[ Source](https://github.com/Ideatica/config-writer)[ Packagist](https://packagist.org/packages/ideatica/config-writer)[ RSS](/packages/ideatica-config-writer/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)Dependencies (1)Versions (8)Used By (0)

config-writer
=============

[](#config-writer)

Save changes to the configuration file in script.

Installing
----------

[](#installing)

Install using Composer `composer require ideatica/config-writer 1.*`.

Using it's facade
-----------------

[](#using-its-facade)

You can use our facade `Ideatica\ConfigWriter\Facade` to ad the `write`-method to the default `Config`-facade.

To do this you must open your config file `config/app.php` and replace `'Config' => 'Illuminate\Support\Facades\Config::class',` under `providers`-section with our facade `Ideatica\ConfigWriter\Facade::class`. Then it will look like `'Config' => 'Ideatica\ConfigWriter\Facade::class',`.

Once this is done you can use `Config::write($configFile, $changes)`, example changing your application url can be done by `Config::write('app', ['url' => 'http://your-site.com'])`.

Using the repository
--------------------

[](#using-the-repository)

You can also use the repository `Ideatica\ConfigWriter\Repository` which works a little like a model.

Example:

```
$config = new Ideatica\ConfigWriter\Repository('app'); // loading the config from config/app.php

$config->set('debug', false); // set the config you wish

if ($config->get('url') == 'http://localhost') // you can even get config from this
{
	$config->set('debug', true);
}

$config->save(); // save those settings to the config file once done editing

```

If you do this a lot I recommend adding the alias `'ConfigWriter' => Ideatica\ConfigWriter\Repository::class` under the `alias`-section in the config file `config/app.php`.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 54.5% 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 ~134 days

Total

4

Last Release

3405d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/51edbdad7a8535fb379c7ea30588f55823b815d73c16d9a9903683c343a333bc?d=identicon)[IdeaticaLabs](/maintainers/IdeaticaLabs)

---

Top Contributors

[![marktopper](https://avatars.githubusercontent.com/u/2232539?v=4)](https://github.com/marktopper "marktopper (18 commits)")[![DavidUlloaG](https://avatars.githubusercontent.com/u/666353?v=4)](https://github.com/DavidUlloaG "DavidUlloaG (9 commits)")[![SignpostMarv](https://avatars.githubusercontent.com/u/304403?v=4)](https://github.com/SignpostMarv "SignpostMarv (6 commits)")

---

Tags

laravelconfigpackagewritersaveideatica

### Embed Badge

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

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

###  Alternatives

[evilfreelancer/openvpn-php

OpenVPN config generator writen on PHP

304.7k](/packages/evilfreelancer-openvpn-php)[threesquared/laravel-paymill

Laravel wrapper for the Paymill API

121.3k](/packages/threesquared-laravel-paymill)

PHPackages © 2026

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