PHPackages                             xenokore/component-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. [Framework](/categories/framework)
4. /
5. xenokore/component-loader

ActiveLibrary[Framework](/categories/framework)

xenokore/component-loader
=========================

Component loader for the Xeno framework

1.0.0(5y ago)0211MITPHP

Since May 12Pushed 5y ago1 watchersCompare

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

READMEChangelogDependencies (2)Versions (2)Used By (1)

Xeno Component Loader
=====================

[](#xeno-component-loader)

A library that helps with loading Xeno compatible components. Libraries that are compatible will be able to easily expose autowire definitions for a DI container, expose Twig templates, etc...

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

[](#installation)

```
composer require xenokore/component-loader

```

Usage
-----

[](#usage)

```
$component_loader = new Xenokore\ComponentLoader\Loader('/vendor');

// When using PHP-DI
$builder = new DI\ContainerBuilder();
$builder->useAnnotations(true);
$builder->useAutowiring(true);

$builder->addDefinitions(
    $component_loader->getContainerDefinitions()
);
```

Creating a component
--------------------

[](#creating-a-component)

1. Create a `/component` directory in the root of your component library
2. Add your DI container definitions in `/component/container.php`
3. Require your component using composer in a project or framework that uses the **Xeno Component Loader**
4. Your definitions will be automatically added to the main DI container

Status
------

[](#status)

Currently only container definitions are supported. Twig templates still have to be added. And there will most likely be more features than this.

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

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

1879d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4f952a864ff95e6dc68693bf6a5fff8320a3511840d1b9f1a0722e8f41b5385a?d=identicon)[Yani](/maintainers/Yani)

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/xenokore-component-loader/health.svg)

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

###  Alternatives

[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k39.6M299](/packages/laravel-dusk)[nineinchnick/edatatables

Grid widget for the Yii Framework, wrapper for the DataTables jQuery plugin

173.2k](/packages/nineinchnick-edatatables)[link-cloud/fast-hyperf

LinkCloud Fast Hyperf

241.2k1](/packages/link-cloud-fast-hyperf)

PHPackages © 2026

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