PHPackages                             phpcraftdream/psr4utoload - 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. phpcraftdream/psr4utoload

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

phpcraftdream/psr4utoload
=========================

019PHP

Since Mar 3Pushed 5y ago1 watchersCompare

[ Source](https://github.com/PHPCraftdream/PSR4Autoload)[ Packagist](https://packagist.org/packages/phpcraftdream/psr4utoload)[ RSS](/packages/phpcraftdream-psr4utoload/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (1)Used By (0)

PSR4Autoload PHPCraftdream
==========================

[](#psr4autoload-phpcraftdream)

\\PHPCraftdream\\PSR4Autoload\\PSR4Autoload - PSR4 autoload class

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

[](#installation)

Run

```
composer require phpcraftdream/psr4utoload

```

Usage
-----

[](#usage)

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

    $psr4utoload = new \PHPCraftdream\PSR4Autoload\PSR4Autoload();

    $psr4utoload->register();

    $psr4utoload->setPaths(
        [
            'NameSpace1' => '/dir1/',
            'NameSpace2' => '/dir2/',
            'NameSpace3' => '/dir3/',
        ]
    );

    $obj = new \NameSpace1\className();
```

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity31

Early-stage or recently created project

 Bus Factor1

Top contributor holds 66.7% 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://avatars.githubusercontent.com/u/14233546?v=4)[Arch-AI-tech](/maintainers/PHPCraftdream)[@PHPCraftdream](https://github.com/PHPCraftdream)

---

Top Contributors

[![PHPCraftdream](https://avatars.githubusercontent.com/u/14233546?v=4)](https://github.com/PHPCraftdream "PHPCraftdream (2 commits)")[![maratK13](https://avatars.githubusercontent.com/u/3388197?v=4)](https://github.com/maratK13 "maratK13 (1 commits)")

### Embed Badge

![Health badge](/badges/phpcraftdream-psr4utoload/health.svg)

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

###  Alternatives

[hgtan/symfony-pre-commit

A Symfony pre-commit hook

1634.6k](/packages/hgtan-symfony-pre-commit)

PHPackages © 2026

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