New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

deskti/laravel-config-writer

Configuration extension
2,886 3

Larablocks Analysis

deskti/laravel-config-writer works with Laravel 5 (latest release 1.0.5, Mar 31, 2018), which reached end of life: no more fixes, even for security.

Recommendation checks

Not advised

Not advised: no release or commit in over 2 years.

  • No release or commit in over 2 years
  • Supports only Laravel 5, past end of life
  • No release in the last 12 months (last: Mar 31, 2018)
  • 0 downloads a month (needs 10,000)
  • 3 GitHub stars (needs 100)

State

Likely abandoned
  • No release or commit in over 2 years.
  • Last stable release: Mar 31, 2018.
  • No releases in the last 12 months.
  • First released: Jul 22, 2017.
  • 1 open issue on GitHub.

Data from Packagist and GitHub, checked by Larablocks on Nov 28, 2026.

Install
composer require deskti/laravel-config-writer
Latest Version:1.0.5
PHP:>=5.6.4
Laravel:5
License:MIT
Last Updated:Mar 31, 2018
Links: GitHub  ·  Packagist
Maintainer: socramjunio2

Laravel Config Writer for version 5.4

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

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

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
]);

Related Packages

benrowe/laravel-config

A basic laravel runtime configuration handler that is stored as simple key/value...

46 1
feihuangorg/config

Configuration extension

8 0
laravel-dev-common/union-config

Laravel dev config util

209 0
jani/laravel-db-config

laravel 读写数据库Config,基于Laravel5.1插件。

42 0
pragmarx/yaml

Load your Laravel config files using yaml

2,965,968 114

Version History

Version Released PHP Laravel License
1.0.5 >=5.6.4 5.4.* MIT
1.0.4 >=5.4.0 5.2.* MIT
1.0.3 >=5.4.0 5.2.* MIT
1.0.2 >=5.4.0 5.2.* MIT
1.0.1 >=5.4.0 5.2.* MIT