wishthis/vendor/grandel/include-directory/README.md

18 lines
289 B
Markdown
Raw Normal View History

2022-01-13 12:48:28 +00:00
# Include Directory
A simple PHP class to automatically include all files in a directory.
## Installation
```
composer require grandel/include-directory
```
## Usage
```php
require 'vendor/autoload.php';
$include = new Grandel\IncludeDirectory( __DIR__ . '/path/to/directory' );
```