PHPackages                             chris13/autoregister-classmap-plugin - 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. [PSR &amp; Standards](/categories/psr-standards)
4. /
5. chris13/autoregister-classmap-plugin

ActiveComposer-plugin[PSR &amp; Standards](/categories/psr-standards)

chris13/autoregister-classmap-plugin
====================================

Plugin composer to register external source code as PSR4.

1.2.1(10y ago)12171proprietaryPHPPHP &gt;=5.3

Since Jan 26Pushed 10y ago1 watchersCompare

[ Source](https://github.com/christophe-chausseray/autoregister-classmap-plugin)[ Packagist](https://packagist.org/packages/chris13/autoregister-classmap-plugin)[ RSS](/packages/chris13-autoregister-classmap-plugin/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (9)Dependencies (7)Versions (11)Used By (0)

This composer plugin allow to register external source code in the autoload of composer from your project

Installation
============

[](#installation)

Step 1: Enable the Plugin
-------------------------

[](#step-1-enable-the-plugin)

Before downloading it you need to update your `composer.json` file with the following:

```
"extra":
    "chris-autoregister-classmap": {
        "path" : "path/to/modules",
        "filename" : ".module.yml"
    }
}
```

`Path` : Directory where you store all your external source code (module)

`Filename` : The file where you have the namespace and the source directory of your module (it can be a hidden file or not)

Step 2: Download the Plugin
---------------------------

[](#step-2-download-the-plugin)

Open a command console, enter your project directory and execute the following command to download the latest stable version of this plugin:

```
$ composer require chris13/autoregister-classmap-plugin "~1"
```

This command requires you to have Composer installed globally, as explained in the [installation chapter](https://getcomposer.org/doc/00-intro.md)of the Composer documentation.

Usage
=====

[](#usage)

In each external source code (module) directory that you want registered, you need to a YML file containing the namespace and the source directory of your bundle.

```
namespace: "App\\Module\\Bundle\\ExampleBundle\\"
source_dir: "src/"
```

[Example](./Example.md)

Tests
=====

[](#tests)

Run Test in the plugin :

```
$ phpunit --debug --testsuite All
```

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity64

Established project with proven stability

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 ~4 days

Total

10

Last Release

3722d ago

Major Versions

0.0.4 → 1.0.02016-01-27

### Community

Maintainers

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

---

Tags

composerautoregister classmap

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/chris13-autoregister-classmap-plugin/health.svg)

```
[![Health](https://phpackages.com/badges/chris13-autoregister-classmap-plugin/health.svg)](https://phpackages.com/packages/chris13-autoregister-classmap-plugin)
```

###  Alternatives

[maclof/kubernetes-client

A simple yet elegant client for accessing and controlling a Kubernetes cluster.

235889.1k4](/packages/maclof-kubernetes-client)

PHPackages © 2026

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