2017 © Pedro Peláez
 

library config

Edit and write config files for laravel 5.1 and up

image

infinety-es/config

Edit and write config files for laravel 5.1 and up

  • Monday, March 13, 2017
  • by Krato1
  • Repository
  • 1 Watchers
  • 1 Stars
  • 1,076 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 35 Forks
  • 0 Open issues
  • 4 Versions
  • 17 % Grown

The README.md

Laravel Config Writer

Write to Laravel Config files and maintain file integrity., (*1)

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

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., (*3)

The following value types are supported for writing: strings, integers and booleans., (*4)

Usage Instructions

Install through composer:, (*5)

composer require "infinety-es/config"

Add this to app/config/app.php under the 'providers' key:, (*6)

'Infinety\Config\ConfigServiceProvider',

You can now write to config files:, (*7)

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

Usage outside Laravel

The Rewrite class can be used anywhere., (*8)

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

The Versions

13/03 2017

dev-master

9999999-dev http://infinety.es

Edit and write config files for laravel 5.1 and up

  Sources   Download

MIT

The Requires

 

by Samuel Georges
by Alexey Bobkov

laravel write config edit infinety

13/03 2017

1.2

1.2.0.0 http://infinety.es

Edit and write config files for laravel 5.1 and up

  Sources   Download

MIT

The Requires

 

by Samuel Georges
by Alexey Bobkov

laravel write config edit infinety

19/05 2016

1.1

1.1.0.0 http://infinety.es

Edit and write config files for laravel 5.1 and up

  Sources   Download

MIT

The Requires

 

by Samuel Georges
by Alexey Bobkov

laravel write config edit infinety

19/05 2016

1.0

1.0.0.0 http://infinety.es

Edit and write config files for laravel 5.1 and up

  Sources   Download

MIT

The Requires

 

by Samuel Georges
by Alexey Bobkov

laravel write config edit infinety