Download the PHP package corpus/recursive-require without Composer
On this page you can find all versions of the php package corpus/recursive-require. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download corpus/recursive-require
More information about corpus/recursive-require
Files in corpus/recursive-require
Download corpus/recursive-require
More information about corpus/recursive-require
Files in corpus/recursive-require
Vendor corpus
Package recursive-require
Short Description Library to Recursively Require Every PHP File in a Directory Tree
License MIT
Package recursive-require
Short Description Library to Recursively Require Every PHP File in a Directory Tree
License MIT
Please rate this library. Is it a good library?
Informations about the package recursive-require
Recursive Require
Library to Recursively Require Every PHP File in a Directory Tree
Requirements
- php: >=7.4.0
Installing
Install the latest version with:
Usage
Here is a simple usage example:
Documentation
Class: \Corpus\RecursiveRequire\Loader
Helper to recursively require all PHP files in a directory
Method: Loader->__construct
Parameters:
- string
$path
- Root path to recursively require - bool
$once
- Whether to userequire_once
instead ofrequire
Method: Loader->__invoke
Trigger the require
(s)
Note: The order in which files are required is not guaranteed.
It will vary based on the Operating System and filesystem.
Do not rely on the order in which files are required.
Parameters:
- string
$regex
- A regex to filter the files to require
Returns:
- array<string,mixed> - The result as a map of filename to return value.
All versions of recursive-require with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.4.0
The package corpus/recursive-require contains the following files
Loading the files please wait ....