PHPackages                             grandel/include-directory - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. grandel/include-directory

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

grandel/include-directory
=========================

Automatically include all files in a given directory.

v0.2.2(4y ago)028AGPL-3.0-or-laterPHPPHP &gt;=7.4

Since Dec 1Pushed 4y ago1 watchersCompare

[ Source](https://github.com/grandeljay/include-directory)[ Packagist](https://packagist.org/packages/grandel/include-directory)[ RSS](/packages/grandel-include-directory/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (4)DependenciesVersions (5)Used By (0)

Include Directory
=================

[](#include-directory)

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

Installation
------------

[](#installation)

```
composer require grandel/include-directory

```

Usage
-----

[](#usage)

```
require 'vendor/autoload.php';

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

###  Health Score

21

—

LowBetter than 17% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

4

Last Release

1720d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/12598931?v=4)[grandel](/maintainers/grandel)[@grandel](https://github.com/grandel)

---

Top Contributors

[![grandeljay](https://avatars.githubusercontent.com/u/45571053?v=4)](https://github.com/grandeljay "grandeljay (1 commits)")

---

Tags

includephprequire

### Embed Badge

![Health badge](/badges/grandel-include-directory/health.svg)

```
[![Health](https://phpackages.com/badges/grandel-include-directory/health.svg)](https://phpackages.com/packages/grandel-include-directory)
```

###  Alternatives

[markbaker/matrix

PHP Class for working with matrices

1.5k312.2M41](/packages/markbaker-matrix)[nathancox/codeeditorfield

A field for editing code and JSON in the SilverStripe CMS using Ace Editor (http://ace.c9.io/)

2549.6k5](/packages/nathancox-codeeditorfield)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
