chevron/objectloader

populate an object by recursively loading files

Installs: 360

Dependents: 6

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/chevron/objectloader

v1.3.0 2014-08-31 04:03 UTC

This package is auto-updated.

Last update: 2025-10-06 11:31:18 UTC


README

objectloader is a simple utility to recurse over a directory and load each php file. If the file returns a callable, it's called and passed the provided object. This is useful for populating a Di, ServiceLocator, or an Event Queue

Peruse the tests or, if present, the examples directory to see usage.

See packagist for version/installation info.

Latest Stable Version Build Status