PHPackages                             laravilt/support - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. laravilt/support

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

laravilt/support
================

Foundation package providing base components, utilities, and contracts for all Laravilt packages. Build custom components with 13+ reusable traits, Get/Set utilities, and multi-platform serialization support.

1.0.5(2mo ago)0828↓45.8%18MITVuePHP ^8.3|^8.4CI passing

Since Dec 11Pushed 2mo agoCompare

[ Source](https://github.com/laravilt/support)[ Packagist](https://packagist.org/packages/laravilt/support)[ GitHub Sponsors](https://github.com/fadymondy)[ RSS](/packages/laravilt-support/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (6)Dependencies (13)Versions (7)Used By (8)

[![support](https://raw.githubusercontent.com/laravilt/support/master/arts/screenshot.jpg)](https://raw.githubusercontent.com/laravilt/support/master/arts/screenshot.jpg)

Laravilt Support
================

[](#laravilt-support)

[![Latest Stable Version](https://camo.githubusercontent.com/658f61415aee81a740cb0091a1c6af28387a9c8529d7a8ad99b25b00e0b710c4/68747470733a2f2f706f7365722e707567782e6f72672f6c61726176696c742f737570706f72742f76657273696f6e2e737667)](https://packagist.org/packages/laravilt/support)[![License](https://camo.githubusercontent.com/d74977589879765ef23f114194563bd4fcd372a6e5536875c4ad49d3d5bf4e22/68747470733a2f2f706f7365722e707567782e6f72672f6c61726176696c742f737570706f72742f6c6963656e73652e737667)](https://packagist.org/packages/laravilt/support)[![Downloads](https://camo.githubusercontent.com/644b20b2c7998404ee50a61d4983c21d7b086237cd1008d789d714c5a3b4dceb/68747470733a2f2f706f7365722e707567782e6f72672f6c61726176696c742f737570706f72742f642f746f74616c2e737667)](https://packagist.org/packages/laravilt/support)[![Dependabot Updates](https://github.com/laravilt/support/actions/workflows/dependabot/dependabot-updates/badge.svg)](https://github.com/laravilt/support/actions/workflows/dependabot/dependabot-updates)[![PHP Code Styling](https://github.com/laravilt/support/actions/workflows/fix-php-code-styling.yml/badge.svg)](https://github.com/laravilt/support/actions/workflows/fix-php-code-styling.yml)[![Tests](https://github.com/laravilt/support/actions/workflows/tests.yml/badge.svg)](https://github.com/laravilt/support/actions/workflows/tests.yml)

Foundation package providing base components, utilities, and contracts for all Laravilt packages. Build custom components with reusable traits, utilities, and base classes.

Features
--------

[](#features)

- 🏗️ **Base Component** - Foundation for all UI components
- 🎨 **Concerns** - 11+ reusable component behaviors (traits)
- 🛠️ **Utilities** - Get, Set, Str, Arr helpers
- 📝 **Contracts** - Interfaces for consistent implementations
- 🔄 **Serialization** - Multi-platform support

Available Traits
----------------

[](#available-traits)

TraitDescription`CanBeDisabled`Enable/disable component state`CanBeHidden`Conditional visibility control`HasActions`Action button support`HasColor`Color theming (primary, success, danger, etc.)`HasDescription`Description/helper text`HasIcon`Icon display support`HasId`Unique identifier management`HasLabel`Label configuration`HasName`Name attribute handling`HasPlaceholder`Placeholder text`InteractsWithState`State management utilitiesQuick Example
-------------

[](#quick-example)

```
use Laravilt\Support\Component;
use Laravilt\Support\Concerns\HasLabel;
use Laravilt\Support\Concerns\HasIcon;
use Laravilt\Support\Concerns\HasColor;

class MyComponent extends Component
{
    use HasLabel;
    use HasIcon;
    use HasColor;

    public static function make(string $name): static
    {
        return app(static::class, ['name' => $name]);
    }
}

// Usage
MyComponent::make('action')
    ->label('Click Me')
    ->icon('plus')
    ->color('primary');
```

Utilities
---------

[](#utilities)

```
use Laravilt\Support\Get;
use Laravilt\Support\Set;
use Laravilt\Support\Str;

// Dot notation access
Get::value($array, 'nested.key', 'default');
Set::value($array, 'nested.key', 'value');

// String utilities
Str::slug('My Component');  // 'my-component'
```

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

[](#installation)

```
composer require laravilt/support
```

Generator Command
-----------------

[](#generator-command)

```
php artisan make:component RatingInput
```

Documentation
-------------

[](#documentation)

- **[Complete Documentation](docs/index.md)** - Base components, concerns, utilities
- **[MCP Server Guide](docs/mcp-server.md)** - AI agent integration

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

46

—

FairBetter than 93% of packages

Maintenance83

Actively maintained with recent releases

Popularity18

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 81.6% 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 ~14 days

Total

6

Last Release

84d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2147eb2fca7ab5f0124d0fafd88ba2d2a5dfa3a0036fb8872d1084b7cba29366?d=identicon)[fadymondy](/maintainers/fadymondy)

---

Top Contributors

[![fadymondy](https://avatars.githubusercontent.com/u/11937812?v=4)](https://github.com/fadymondy "fadymondy (40 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (6 commits)")[![actions-user](https://avatars.githubusercontent.com/u/65916846?v=4)](https://github.com/actions-user "actions-user (1 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (1 commits)")[![swarakaka](https://avatars.githubusercontent.com/u/9349190?v=4)](https://github.com/swarakaka "swarakaka (1 commits)")

---

Tags

laravelcomponentsfoundationbaseutilitiessupporttraitslaravilt

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/laravilt-support/health.svg)

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

PHPackages © 2026

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