PHPackages                             talesoft/tale-loader - 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. talesoft/tale-loader

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

talesoft/tale-loader
====================

A small and lightweight PSR-4 and PSR-0 compatible loader

0.1(10y ago)0601MITPHPPHP &gt;=5.5.0

Since Mar 1Pushed 9y ago3 watchersCompare

[ Source](https://github.com/Talesoft/tale-loader)[ Packagist](https://packagist.org/packages/talesoft/tale-loader)[ Docs](http://docs.talesoft.io/tale-framework/tale/loader)[ RSS](/packages/talesoft-tale-loader/feed)WikiDiscussions master Synced 2mo ago

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

Tale Loader
===========

[](#tale-loader)

**A Tale Framework Component**

What is Tale Loader?
====================

[](#what-is-tale-loader)

A PSR-4 and PSR-0 compatible loader without other dependencies

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

[](#installation)

Install via Composer

```
composer require "talesoft/tale-loader:*"
composer install
```

Usage
=====

[](#usage)

Assuming the following structure:

```
/library
    /App.php
    /App
        /Middleware.php
    /Db.php
    /Db/Table.php

```

do

```
use Tale\Loader;

$loader = new Loader(__DIR__.'/library');
$loader->register();
```

and you're done.

To disable the loader you can unregister it (which it will do automatically upon destruction)

```
$loader->unregister();
```

If you want to map a namespace on your directory, use the second argument

```
$loader = new Loader(__DIR__.'/vendor/my/app', 'My\\App\\');
```

If your files are named differently, use the third parameter

```
$loader = new Loader(__DIR__.'/lib', 'My\\', '%s.class.php');
```

That's all it can do any probably ever will. Maybe optional class maps will be implemented.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity48

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

3726d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/75a80e0830e63c723808d021d3a1648a2643db60f4ac2e40842da05f227f956b?d=identicon)[TorbenKoehn](/maintainers/TorbenKoehn)

---

Top Contributors

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

---

Tags

loader

### Embed Badge

![Health badge](/badges/talesoft-tale-loader/health.svg)

```
[![Health](https://phpackages.com/badges/talesoft-tale-loader/health.svg)](https://phpackages.com/packages/talesoft-tale-loader)
```

###  Alternatives

[phpdocumentor/type-resolver

A PSR-5 based resolver of Class names, Types and Structural Element Names

9.2k719.5M166](/packages/phpdocumentor-type-resolver)[pimple/pimple

Pimple, a simple Dependency Injection Container

2.7k130.5M1.4k](/packages/pimple-pimple)[league/container

A fast and intuitive dependency injection container.

86387.8M343](/packages/league-container)[stella-maris/clock

A pre-release of the proposed PSR-20 Clock-Interface

7947.5M2](/packages/stella-maris-clock)[wptrt/wpthemereview

PHP\_CodeSniffer rules (sniffs) to verify theme compliance with the rules for theme hosting on wordpress.org

217736.5k29](/packages/wptrt-wpthemereview)[inpsyde/modularity

Modular PSR-11 implementation for WordPress plugins, themes or libraries.

54383.3k3](/packages/inpsyde-modularity)

PHPackages © 2026

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