crazyfactory/docblocks 问题修复 & 功能扩展

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

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

crazyfactory/docblocks

最新稳定版本:2.2.0

Composer 安装命令:

composer require crazyfactory/docblocks

包简介

A library for parsing and working with php docblocks from within your code.

README 文档

README

Parses php doc blocks and makes them easily accessible.

This is based on using reflection and results should be heavily cached or only be used in processes which aren't time critical.

Install

Run composer require crazyfactory/docblocks to install the latest version into your composer powered project.

Usage

You can pass in any doc-block formatted string into the constructor of DocBlock to have it parsed.

$dc = new DocBlock('/** myDocBlockString */');

Or you can pass in any Reflection object offering getDocComment() like ReflectionMethod, ReflectionClass etc.

$dc = new DocBlock(new \ReflectionClass(MyClass::class));

If you only care for the results in form of simple DocBlockParameter-array you can use the parser directly.

$results = DocBlock::parse($myDocBlockString);

Changelog

  • 2.0.0 added auto-deploy via travis CI with githubtags as version-nr.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-08-23

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固