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.3kMITHTML

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 4w 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

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

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

2237d 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

[mustache/mustache

A Mustache implementation in PHP.

3.3k44.6M290](/packages/mustache-mustache)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[whitecube/nova-flexible-content

Flexible Content &amp; Repeater Fields for Laravel Nova.

8053.0M25](/packages/whitecube-nova-flexible-content)[mopa/bootstrap-bundle

Easy integration of twitters bootstrap into symfony2

7042.9M33](/packages/mopa-bootstrap-bundle)[limenius/react-bundle

Client and Server-side react rendering in a Symfony Bundle

3871.2M](/packages/limenius-react-bundle)[nicmart/string-template

StringTemplate is a very simple string template engine for php. I've written it to have a thing like sprintf, but with named and nested substutions.

2101.7M30](/packages/nicmart-string-template)

PHPackages © 2026

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