Skip to content

clean/phpatlas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Clean\PhpAtlas

Latest Stable Version Total Downloads Monthly Downloads License PHP Version Require

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.

About

PhpAtlas allow to access description of all PHP methods used in the PHP manual

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages