saxulum/saxulum-classfinder

Saxulum ClassFinder

Installs: 2 572

Dependents: 2

Watchers: 1

Forks: 1

Open Issues: 1

Language: PHP

1.1.6 2015-08-24 19:15 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