PHPackages                             forxer/blade-components-reflection - 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. forxer/blade-components-reflection

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

forxer/blade-components-reflection
==================================

Runtime reflection utilities for class-based Blade components (settable attributes &amp; constructor parameters).

1.0.0(1mo ago)0392MITPHPPHP ^8.4

Since Jul 2Pushed 1mo agoCompare

[ Source](https://github.com/forxer/blade-components-reflection)[ Packagist](https://packagist.org/packages/forxer/blade-components-reflection)[ Docs](https://github.com/forxer/blade-components-reflection)[ RSS](/packages/forxer-blade-components-reflection/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (1)Dependencies (6)Versions (3)Used By (2)

Blade Components Reflection
===========================

[](#blade-components-reflection)

Runtime reflection utilities for class-based Blade components. Given a component class, it reports the attributes a Blade tag can set on it:

- `AttributeReflector::settableProperties($class)` — public, non-promoted, externally-settable properties (excludes static, promoted, `private(set)`/`protected(set)`, and `Illuminate\View\Component` internals), kebab-cased.
- `AttributeReflector::constructorParameters($class)` — every constructor parameter, with a `required`flag.

It is a small, provider-less library (no service provider, no config). Consumers that hydrate public properties from the Blade attribute bag at render time use it directly; the companion dev tool [`forxer/blade-components-ide-helper`](https://packagist.org/packages/forxer/blade-components-ide-helper)uses the same class to generate IDE metadata.

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

[](#installation)

```
composer require forxer/blade-components-reflection
```

Usage
-----

[](#usage)

```
use Forxer\BladeComponentsReflection\AttributeReflector;

$properties = AttributeReflector::settableProperties(MyComponent::class);
// [['name' => 'variant', 'kebab' => 'variant', 'type' => 'string'], ...]

$parameters = AttributeReflector::constructorParameters(MyComponent::class);
// [['name' => 'label', 'kebab' => 'label', 'type' => 'string', 'required' => true], ...]
```

License
-------

[](#license)

MIT

###  Health Score

43

—

FairBetter than 89% of packages

Maintenance90

Actively maintained with recent releases

Popularity10

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity52

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

48d ago

### Community

Maintainers

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

---

Top Contributors

[![forxer](https://avatars.githubusercontent.com/u/407917?v=4)](https://github.com/forxer "forxer (5 commits)")

---

Tags

laravelreflectionbladecomponent

###  Code Quality

TestsPest

Static AnalysisRector

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/forxer-blade-components-reflection/health.svg)

```
[![Health](https://phpackages.com/badges/forxer-blade-components-reflection/health.svg)](https://phpackages.com/packages/forxer-blade-components-reflection)
```

###  Alternatives

[moonshine/moonshine

Laravel administration panel

1.3k268.2k89](/packages/moonshine-moonshine)[psalm/plugin-laravel

Psalm plugin for Laravel

3345.4M354](/packages/psalm-plugin-laravel)[tallstackui/tallstackui

TallStackUI is a powerful suite of Blade components that elevate your workflow of Livewire applications.

731189.9k16](/packages/tallstackui-tallstackui)[hasinhayder/tyro-dashboard

Tyro Dashboard - Beautiful admin dashboard for managing Tyro roles, privileges, users, and settings

5495.1k](/packages/hasinhayder-tyro-dashboard)[hasinhayder/tyro-login

Tyro Login - Beautiful, customizable authentication views for Laravel 12 &amp; 13

2508.1k7](/packages/hasinhayder-tyro-login)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

45844.8k1](/packages/pressbooks-pressbooks)

PHPackages © 2026

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