定制 hamboldt/php-doc-reader 二次开发

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

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

hamboldt/php-doc-reader

最新稳定版本:v1.0.2

Composer 安装命令:

composer require hamboldt/php-doc-reader

包简介

Reads configurations from comments in PHP, converting them from JSON to arrays.

README 文档

README

License Build Status Scrutinizer Code Quality Latest Stable Version Total Downloads

Reads configuration assets in objects and elements, just like in the example below:

composer require hamboldt/php-doc-reader

Example

<?php

/**
 * Look this amazing configurable class.
 * @configure {"config_name":"config_value"}
 */
class MyConfigurableClass
{
   /**
    * Look this amazing configurable property!
    * @configure {"config_name":"config_value"}
    */
   public $property;
}

// array("config_name" => "config_value")
PhpDocReader\Reader::getConfig('MyConfigurableClass');

// array("config_name" => "config_value")
PhpDocReader\Reader::getConfig('MyConfigurableClass', 'property');

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-08-07

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固