PHPackages                             wulfheart/lxcd - 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. [Templating &amp; Views](/categories/templating)
4. /
5. wulfheart/lxcd

ActiveLibrary[Templating &amp; Views](/categories/templating)

wulfheart/lxcd
==============

Blade x-component documentation

v0.1.4(6y ago)03.5kMITHTML

Since Mar 22Pushed 5y ago1 watchersCompare

[ Source](https://github.com/Wulfheart/lxcd)[ Packagist](https://packagist.org/packages/wulfheart/lxcd)[ RSS](/packages/wulfheart-lxcd/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (4)DependenciesVersions (5)Used By (0)

LXCD
====

[](#lxcd)

LXCD, short for Laravel x-Components Discovery, is a package aimed to make the new [Laravel Blade x-components](https://laravel.com/docs/7.x/blade#components) discoverable so you don't have to remember every single parameter.

Prerequisites
-------------

[](#prerequisites)

Before you begin, ensure you have met the following requirements:

- You are using Laravel 7.x or higher.
- You document your code with [phpDocumentor](https://www.phpdoc.org/) or no system at all.
- You haven't opted out of [Laravel's Package Discovery](https://laravel.com/docs/7.x/packages#package-discovery). If you have I'm assuming that you are able to register the package by yourself.

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

[](#installation)

```
composer require wulfheart/lxcd
```

Usage
-----

[](#usage)

### Basic

[](#basic)

LXCD hooks into phpDocumentor's in-code-documentation. To document your code add the following comment over your component class' `__construct` method.

```
/**
     * Label
     *
     * Description
     *
     * @param   string  $var_with_default  Parameter Description {@default default_val}
     * @param   string  $var_without_default     Parameter description.
     *
     */
    public function __construct(string $var_with_default = 'default_val', string $var_without_default)
    {
        #code...
    }
```

This will result in the documentation below:

[![Rendered component card](./img/Rendered_card.png "Rendered component card")](./img/Rendered_card.png)

You can access LXCD via `/lxcd`. Please note that LXCD also discovers subfolders of your components.

### Advanced

[](#advanced)

If you are using a different base namespace for your components than `App\View\Components` or a different package installation location than `./vendor/wulfheart/lxcd` you may override LXCD's default settings via your `.env` file:

```
LXCD_COMPONENTS_PATH = this\is\your\custom\path\to\your\components\root
LXCD_COMPONENTS_NAMESPACE = your\custom\base\namespace
```

Contributing
------------

[](#contributing)

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

If you experience any problems, bugs or have feature requests feel free to [open an issue](https://github.com/Wulfheart/lxcd/issues/new).

Roadmap 🚧
---------

[](#roadmap-)

- Make the blade component easily copiable
- Preview the component visually (this might be quite complicated 😅)
- ❓ Make a [feature request](https://github.com/Wulfheart/lxcd/issues/new).

Contact
-------

[](#contact)

Follow me on [Twitter](https://twitter.com/alexfwulf) or [open an issue](https://github.com/Wulfheart/lxcd/issues/new).

License
-------

[](#license)

This project is licensed under the MIT License. Please refer to the `LICENSE` file.

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

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

Every ~0 days

Total

4

Last Release

2294d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

bladelaravel

### Embed Badge

![Health badge](/badges/wulfheart-lxcd/health.svg)

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

###  Alternatives

[limenius/react-bundle

Client and Server-side react rendering in a Symfony Bundle

3851.2M](/packages/limenius-react-bundle)[ktquez/laravel-tinymce

TinyMCE editor for Laravel and Lumen Framework

2525.4k](/packages/ktquez-laravel-tinymce)[jelix/wikirenderer

WikiRenderer is a library to generate HTML or anything else from wiki content.

1712.3k1](/packages/jelix-wikirenderer)[webkinder/sproutset

A Composer package for handling responsive images in Roots Bedrock + Sage + Blade projects.

282.2k](/packages/webkinder-sproutset)

PHPackages © 2026

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