PHPackages                             collectivism/autoloader - 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. collectivism/autoloader

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

collectivism/autoloader
=======================

072PHP

Since Aug 23Pushed 11y ago1 watchersCompare

[ Source](https://github.com/collectivism/autoloader)[ Packagist](https://packagist.org/packages/collectivism/autoloader)[ RSS](/packages/collectivism-autoloader/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependenciesVersions (1)Used By (0)

autoloader [![Build Status](https://camo.githubusercontent.com/74a763bdd44f18cebbbe4ab192d7be19c7236412df0767df24b970d33eb78923/68747470733a2f2f7472617669732d63692e6f72672f636f6c6c656374697669736d2f6175746f6c6f616465722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/collectivism/autoloader)
===============================================================================================================================================================================================================================================================================================================

[](#autoloader-)

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

[](#installation)

Add this to your `composer.json` and run `composer install`.

```
  "require": {
    "collectivism/autoloader": "dev-master"
  }
```

Usage
-----

[](#usage)

```
use \Collectivism\Autoloader;

$autoloader = Autoloader::getInstace();

$classMap = array(
  'Namespace1\\SubNamespace1' => __DIR__ .
  '/Namespace1/SubNamespace1',
  'Namespace2\\SubNamespace2' => __DIR__ .
  '/Namespace2/SubNamespace2',
);

$autoloader->register($classMap);
```

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 78.6% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/eb9efe40075ae9aadf1f34fb073923067e4b0aa9cd8fff450904f57413586c6f?d=identicon)[aniketpant](/maintainers/aniketpant)

![](https://www.gravatar.com/avatar/740d4977dd93d1e3d230a0976c51c5241a2990877b0e6b4be96a40198e2ac9f4?d=identicon)[bhaskar.saraogi](/maintainers/bhaskar.saraogi)

---

Top Contributors

[![aniketpant](https://avatars.githubusercontent.com/u/777188?v=4)](https://github.com/aniketpant "aniketpant (11 commits)")[![bhaskarsaraogi](https://avatars.githubusercontent.com/u/2122404?v=4)](https://github.com/bhaskarsaraogi "bhaskarsaraogi (3 commits)")

### Embed Badge

![Health badge](/badges/collectivism-autoloader/health.svg)

```
[![Health](https://phpackages.com/badges/collectivism-autoloader/health.svg)](https://phpackages.com/packages/collectivism-autoloader)
```

###  Alternatives

[mrjgreen/config

Config component based on laravel's

2411.0k1](/packages/mrjgreen-config)

PHPackages © 2026

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