PHPackages                             gisostallenberg/velpon-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. gisostallenberg/velpon-loader

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

gisostallenberg/velpon-loader
=============================

Dynamic glue for classes in a stack

0.1.0(7y ago)010PHP

Since Oct 29Pushed 7y ago1 watchersCompare

[ Source](https://github.com/gisostallenberg/velpon-loader)[ Packagist](https://packagist.org/packages/gisostallenberg/velpon-loader)[ RSS](/packages/gisostallenberg-velpon-loader/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Velpon loader
=============

[](#velpon-loader)

Velpon loader glues classes defined in a variable stack together. See  for the origin of the name.

Please not that this package is able to *initialize* an arbitrary class stack for a variable defined stack. It is **not able to change** already initialized (constructed) classes.

This package is meant to be used in a BC manner for existing projects implementing this style of loading. WARNING: It is strongly discouraged to use this for any new projects. Please use services, events and the like to be able to 'plug' into behavior.

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

[](#installation)

```
composer require gisostallenberg/velpon-loader
```

Usage example
-------------

[](#usage-example)

```
use GisoStallenberg\VelponLoader\VelponLoader;

// Note that the stack order is reversed (ClassToPlug extends ClassToPlugPluginOne extends ClassToPlugPluginTwo)
VelponLoader::register([
    'plugin_two' => [
        'ClassToPlug' => 'ClassToPlugPluginTwo'
    ],
    'plugin_one' => [
        'ClassToPlug' => 'ClassToPlugPluginOne'
    ],
]);
```

Files:

```
// ClassToPlug.php
class ClassToPlugPluggable {}

// ClassToPlugPluginOne.php
class ClassToPlugPluginOne extends ClassToPlugPluginOneVelpon {}

// ClassToPlugPluginTwo.php
class ClassToPlugPluginTwo extends ClassToPlugPluginTwoVelpon {}
```

Todo
----

[](#todo)

Protect abstract classes from constructing without a non abstract parent

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

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

2750d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1ea7c6acad608c13a090d72dc45f02ef149d8e41b16c671ee221baf7d1e977d7?d=identicon)[gisostallenberg](/maintainers/gisostallenberg)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/gisostallenberg-velpon-loader/health.svg)

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

###  Alternatives

[mmanos/laravel-casset

An asset management package for Laravel 4.

112.6k](/packages/mmanos-laravel-casset)

PHPackages © 2026

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