clean / phpatlas
Installs: 68 758
Dependents: 1
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 1
Open Issues: 0
Requires
- php: ^8.0
Requires (Dev)
- phpunit/phpunit: ^10
This package is auto-updated.
Last update: 2025-05-16 18:21:47 UTC
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.