定制 ghalambaz/config-file-manager 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

ghalambaz/config-file-manager

最新稳定版本:1

Composer 安装命令:

composer require ghalambaz/config-file-manager

包简介

config(key-value) file editor for PHP

README 文档

README

Config File Manager

this class written 5 years ago . it's better to not use regular expressions for performance and faster interpreting . this project is just for ... !

you may have file like this in your projects

#config.ini

Title=My App
TemplateDirectory=temp dir

start with create new instance of ConfigFileManager

    $config = new ConfigFileManager('configs/config.ini');  //opening file config.ini from configs directory  
         
    echo $config->Title;  //read  "Title" value which is equal to  "My App"  
       
    $config->Title = "Your App";  //changing value of "Title"  
      
    $config->save();  //save changes to config.ini easily

installation

composer require ghalambaz/config-file-manager

统计信息

  • 总下载量: 225
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 0
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: Apache-2.0
  • 更新时间: 2018-10-16