epic/config

为我们项目的新配置

dev-master 2015-08-06 10:46 UTC

This package is not auto-updated.

Last update: 2024-10-02 10:24:55 UTC


README

  • PHP 5.5+

安装

将插件添加到项目的 composer.json

  {
    "require": {
      "epic/config": "dev-master"
    }
  }

使用

创建一个新的加载器

<?php
$config = new \Epic\Config(['path/to/.env']);
var_dump($config['param']);

?>