saxulum / saxulum-classfinder
Saxulum ClassFinder
Installs: 49 663
Dependents: 2
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 1
Open Issues: 0
Requires
- php: >=5.3.3
Requires (Dev)
- phpunit/phpunit: 3.7.*
README
Features
- Search all classes within a given php code as string
Requirements
- PHP 5.3+
Installation
Through Composer as saxulum/saxulum-classfinder.
Usage
Get classes as an array
$phpCode = file_get_contents(__DIR__ . '/data/Sample.php');
$classes = ClassFinder::findClasses($phpCode);
Copyright
- Dominik Zogg dominik.zogg@gmail.com