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 1mo ago

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

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

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

1832d 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/telescope

An elegant debug assistant for the Laravel framework.

5.2k67.8M192](/packages/laravel-telescope)[spiral/roadrunner

RoadRunner: High-performance PHP application server and process manager written in Go and powered with plugins

8.4k12.2M84](/packages/spiral-roadrunner)[nolimits4web/swiper

Most modern mobile touch slider and framework with hardware accelerated transitions

41.8k177.2k1](/packages/nolimits4web-swiper)[laravel/dusk

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

1.9k36.7M259](/packages/laravel-dusk)[laravel/prompts

Add beautiful and user-friendly forms to your command-line applications.

708181.8M596](/packages/laravel-prompts)[cakephp/chronos

A simple API extension for DateTime.

1.4k47.7M121](/packages/cakephp-chronos)

PHPackages © 2026

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