xiaolin/laravel-config is a Laravel package for config.
It currently has 0 GitHub stars and 4 downloads on Packagist (latest version 0.0.4).
Install it with composer require xiaolin/laravel-config.
Discover more Laravel packages by xiaolin
or browse all Laravel packages to compare alternatives.
Last updated
local:
mysql:
host: 127.0.0.1
port: 3306
dev:
mysql:
host: 127.0.0.1
port: 3306
## 读取
```php
<?php
$file = 'config.yml';
Yaml::getInstance()->load($file);
<?php
$file = 'config.yml';
$data = Yaml::getInstance()->save($file, $data);
$data['mysql']['port'] = 3307;
yml_write($file,$data);