clean/phpatlas
最新稳定版本:0.3.0
Composer 安装命令:
composer require clean/phpatlas
包简介
README 文档
README
PhpAtlas is a lightweight PHP reflection utility that allows you to fetch short metadata descriptions and PHP manual links for PHP functions or class methods.
Installation
via Composer
"require": { "clean/phpatlas": "dev-master" }
Features
- Reflect class methods and global functions
- Generate direct links to php.net manual pages
Example of usage
use Clean\PhpAtlas\ClassMethod; $method = new ClassMethod('ArrayIterator::count'); echo $method->getMethodShortDescription(); // e.g. "Count elements" echo $method->getMethodPHPDocLink(); // https://www.php.net/manual/en/arrayiterator.count.php // for standalone functions $function = new ClassMethod('explode'); echo $function->getMethodPHPDocLink(); // https://www.php.net/manual/en/function.explode.php
License
This package is licensed under the MIT License. See the LICENSE file for details.
统计信息
- 总下载量: 103.52k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-12-05