saxulum/saxulum-classfinder

This package is abandoned and no longer maintained. No replacement package was suggested.

Saxulum ClassFinder

1.1.6 2015-08-24 19:15 UTC

This package is auto-updated.

Last update: 2020-09-22 19:07:33 UTC


README

Build Status Total Downloads Latest Stable Version

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