limingxinleo/x-phalcon-config-center

Phalcon 配置中心

1.0.3 2018-03-12 04:18 UTC

This package is auto-updated.

Last update: 2024-11-17 20:26:28 UTC


README

Build Status

安装

composer require limingxinleo/x-phalcon-config-center

文件类型支持

  • php
  • ini

其他类型随缘支持

使用

<?php

use Xin\Phalcon\Config\Center\Client;

$config = Client::getInstance();
$config->load('/your/path/to/config/dir/');

$name = Client::getInstance()->get('app')->name;