hpeccatte/properties-parser 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

hpeccatte/properties-parser

最新稳定版本:1.0.3

Composer 安装命令:

composer require hpeccatte/properties-parser

包简介

Parser for properties files.

README 文档

README

Build Status

Properties Parser

Here is a PHP library to retrieve the properties of a .properties file.

It seems that .properties files are mainly used by Java programs. But you may have also defined a properties file in a PHP project or would like to use the same file with both languages.

Installation

composer require hpeccatte/properties-parser

.properties file format

Define a property

In a .properties file, property/value can be separated by =, : or a whitespace.

A property can also be defined on multiple lines:

property = value \
      which \
      is \
      multilined

In this case, the property will be property and the value value which is multilined.

Comments

You can define comments in your file by starting a line with # or ! characters.

References

This parser was implemented to try to match as much as possible the behavior defined by the Java Properties Parser.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-12-03