PHP: Nelson Martell Library

A set of auxiliary classes for your PHP applications

Get Started →

Strict classes

Limit direct access to your class attributes. Only defined properties in its class are allowed for an object. No more misspells in properties name!

Properties encapsulation

Provide your classes with auto-magic getters and setters for your properties. Add validations and customize the return values.

Debugging

Included specific exceptions in order to catch them and know what happened and where is the error.

Defined structures

Normalize and expand your classes with the included interfaces and traits for string formatting, objects comparison and more.

Utilities

Format text with placeholders, get the type of objects and extract info, compare objects, ensure values, and more.