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.
via Composer
"require": {
"clean/phpatlas": "dev-master"
}
- Reflect class methods and global functions
- Generate direct links to php.net manual pages
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
This package is licensed under the MIT License. See the LICENSE file for details.