PHPackages                             peraleks/autoload - 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. peraleks/autoload

ActiveLibrary

peraleks/autoload
=================

PSR-4 class loader.

v1.0.0(9y ago)1131MITPHPPHP ^7.0

Since Mar 22Pushed 9y ago1 watchersCompare

[ Source](https://github.com/peraleks/autoload)[ Packagist](https://packagist.org/packages/peraleks/autoload)[ Docs](https://github.com/peraleks/autoload)[ RSS](/packages/peraleks-autoload/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

[![Total Downloads](https://camo.githubusercontent.com/b8b7423b7d5e341c455003cdae45af9fa68fe12159a8e2ab4095b3afc191eccc/68747470733a2f2f706f7365722e707567782e6f72672f706572616c656b732f6175746f6c6f61642f642f746f74616c2e737667)](https://packagist.org/packages/peraleks/autoload)[![Latest Stable Version](https://camo.githubusercontent.com/5d59521f0ad0b4051cf10ef3a567709904b3f2617a459fdb9a25249c4c441e02/68747470733a2f2f706f7365722e707567782e6f72672f706572616c656b732f6175746f6c6f61642f762f737461626c652e737667)](https://packagist.org/packages/peraleks/autoload)[![License](https://camo.githubusercontent.com/a04c466646410c4df13820d429aa1e8d4adf04b3222e62edb6c39e02ac178832/68747470733a2f2f706f7365722e707567782e6f72672f706572616c656b732f6175746f6c6f61642f6c6963656e73652e737667)](https://packagist.org/packages/peraleks/autoload)

Autoload
========

[](#autoload)

PSR-4 загрузчик классов для PHP7.

Установка
---------

[](#установка)

```
$ composer require peraleks/autoload
```

Или скачайте [ZIP](https://github.com/peraleks/autoload/releases).

Использование
-------------

[](#использование)

Например структура папок вашего приложения такая:

```
      project_dir
          vendor
          index.php

```

В index.php подключаем и инстанцируем ClassLoader:

```
require __DIR__.'/vendor/peraleks/autoload/src/ClassLoader.php';

$loader = new \Peraleks\Autoload\ClassLoader(__DIR__);
```

Если вам нужно добавить в автозагрузку классы библиотеки **symfony/var-dumper**, которые находятся в **project\_dir/vendor/symfony/var-dumper** выполите:

```
$loader->add('Symfony\Component\VarDumper', '/vendor/symfony/var-dumper');
```

Лицензия
--------

[](#лицензия)

The MIT License ([MIT](LICENSE.md)).

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity58

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

Unknown

Total

1

Last Release

3341d ago

### Community

Maintainers

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

---

Top Contributors

[![peraleks](https://avatars.githubusercontent.com/u/19615952?v=4)](https://github.com/peraleks "peraleks (2 commits)")

---

Tags

autoloadpsr-4phpautoloadpsr4PHP7class loaderperaleks

### Embed Badge

![Health badge](/badges/peraleks-autoload/health.svg)

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

###  Alternatives

[fuel/fuel

FuelPHP is a simple, flexible, community driven PHP 5.4+ framework, based on the best ideas of other frameworks, with a fresh start!

1.5k42.3k](/packages/fuel-fuel)[clouddueling/mysqldump-php

PHP version of mysqldump cli that comes with MySQL

1.3k22.9k](/packages/clouddueling-mysqldump-php)[jeffreyhyer/bamboohr

PHP SDK for the BambooHR API

1077.3k1](/packages/jeffreyhyer-bamboohr)

PHPackages © 2026

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