saxulum/saxulum-classfinder

Saxulum ClassFinder

Installs: 5 347

Dependents: 2

Suggesters: 0

Stars: 0

Watchers: 1

Forks: 1

Open Issues: 0

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