class-finder composer package
Via Composer
$ composer require redreams/class-finder
use Redreams\ClassFinder\ClassFinder;
$className = ClassFinder::find($phpSourceCode);
Please see CHANGELOG for more information on what has changed recently.
$ composer test
Please see CONTRIBUTING for details.
If you discover any security related issues, please email dev@gennadyx.tech instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.