wishthis/vendor/grandel/include-directory
2022-01-13 13:48:28 +01:00
..
src Add grandel/include-directory 2022-01-13 13:48:28 +01:00
.gitattributes Add grandel/include-directory 2022-01-13 13:48:28 +01:00
.gitignore Add grandel/include-directory 2022-01-13 13:48:28 +01:00
composer.json Add grandel/include-directory 2022-01-13 13:48:28 +01:00
LICENSE Add grandel/include-directory 2022-01-13 13:48:28 +01:00
README.md Add grandel/include-directory 2022-01-13 13:48:28 +01:00

Include Directory

A simple PHP class to automatically include all files in a directory.

Installation

composer require grandel/include-directory

Usage

require 'vendor/autoload.php';

$include = new Grandel\IncludeDirectory( __DIR__ . '/path/to/directory' );