PHPackages                             hocvt/orchid-livewire - 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. hocvt/orchid-livewire

ActiveLibrary[Framework](/categories/framework)

hocvt/orchid-livewire
=====================

A Livewire macro for Orchid Platform

v6.0.1(3y ago)08MITPHP

Since Mar 28Pushed 3y agoCompare

[ Source](https://github.com/vuthaihoc/orchid-livewire)[ Packagist](https://packagist.org/packages/hocvt/orchid-livewire)[ RSS](/packages/hocvt-orchid-livewire/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (5)Versions (3)Used By (0)

Orchid Livewire
===============

[](#orchid-livewire)

[![GitHub Workflow Status](https://github.com/AlexSabur/orchid-livewire/workflows/Run%20tests/badge.svg)](https://github.com/AlexSabur/orchid-livewire/actions)[![styleci](https://camo.githubusercontent.com/c18517f1c1404873b10d90260fbf9cdaf756fe430982b6578dbb1149a4d4b738/68747470733a2f2f7374796c6563692e696f2f7265706f732f3237333438323735332f736869656c64)](https://styleci.io/repos/273482753)

[![Packagist](https://camo.githubusercontent.com/d534b0ceb7ae32a0a09960fccfcb25fd9f2fff5c0ff2a238c527796f4f003049/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f616c657873616275722f6f72636869642d6c697665776972652e737667)](https://packagist.org/packages/alexsabur/orchid-livewire)[![Packagist](https://camo.githubusercontent.com/4f0ed8055f7948159dbdd7583b97fae338caef4f01d6902afec76c0453b49334/68747470733a2f2f706f7365722e707567782e6f72672f616c657873616275722f6f72636869642d6c697665776972652f642f746f74616c2e737667)](https://packagist.org/packages/alexsabur/orchid-livewire)[![Packagist](https://camo.githubusercontent.com/1e0f6761a5e545d85439156db431a5fa679b6f09ee4b6075ad2bbb09c70d3d73/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f616c657873616275722f6f72636869642d6c697665776972652e737667)](https://packagist.org/packages/alexsabur/orchid-livewire)

Package description: A Livewire macro for Orchid Platform

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

[](#installation)

Install via composer

```
# for Orchid 12, 13
composer require livewire/livewire alexsabur/orchid-livewire:^5.2

# for Orchid 11
composer require livewire/livewire alexsabur/orchid-livewire:^4.0

# or for Orchid 10
composer require livewire/livewire alexsabur/orchid-livewire:^3.0
```

Publish orchid-livewire assets

```
php artisan vendor:publish --tag=orchid-livewire-assets
```

Publish original assets livewire (optional)

```
php artisan vendor:publish --tag=livewire:assets
```

Publish package config (optional)

```
php artisan vendor:publish --provider="AlexSabur\OrchidLivewire\ServiceProvider"
```

Usage
-----

[](#usage)

### For Table and Sight

[](#for-table-and-sight)

```
/**
 * @return array
 */
public function columns(): array
{
    return [
        TD::set('status', __('Name'))
            ->sort()
            ->cantHide()
            ->filter(TD::FILTER_TEXT)
            ->livewire('user.pool-status'),

        // livewire will send an "email" with the key "email"
        TD::set('email', __('email'))
            ->livewire('user-email', key: fn (User $user) => "td-user-email-{$user->id}"),

        // livewire will be passed the model under the key 'user'
        TD::set('some_data', __('some data'))
            ->livewire('some-component', 'user', fn (User $user) => "td-some-data-{$user->id}"),

        TD::set('id', __('ID'))
            ->livewire('user.id', function (User $user) {
                return [
                    'user' => $user
                ];
            }, fn (User $user) => "td-user-{$user->id}"),
    ];
}
```

### For Screen

[](#for-screen)

```
/**
 * Views.
 *
 * @return Layout[]
 */
public function layout(): array
{
    return [
        // With only user and role from query
        Layout::livewire('user.pay-status')
            ->only(['user', 'role']),

        // With except role from query
        Layout::livewire('foo')
            ->except('role'),

        // Without data from query
        Layout::livewire('baz')
            ->empty(),

        // With all from query
        Layout::livewire('baz'),
    ];
}
```

Security
--------

[](#security)

If you discover any security related issues, please email instead of using the issue tracker.

Credits
-------

[](#credits)

- [Alex Sabur](https://github.com/AlexSabur/orchid-livewire)
- [All contributors](https://github.com/AlexSabur/orchid-livewire/graphs/contributors)

This package is bootstrapped with the help of [melihovv/laravel-package-generator](https://github.com/melihovv/laravel-package-generator).

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 82.2% 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

2

Last Release

1138d ago

### Community

Maintainers

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

---

Top Contributors

[![AlexSabur](https://avatars.githubusercontent.com/u/12692865?v=4)](https://github.com/AlexSabur "AlexSabur (37 commits)")[![G3z](https://avatars.githubusercontent.com/u/875086?v=4)](https://github.com/G3z "G3z (3 commits)")[![osbre](https://avatars.githubusercontent.com/u/23292709?v=4)](https://github.com/osbre "osbre (3 commits)")[![vuthaihoc](https://avatars.githubusercontent.com/u/2509658?v=4)](https://github.com/vuthaihoc "vuthaihoc (2 commits)")

---

Tags

laravellivewireorchid

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/hocvt-orchid-livewire/health.svg)

```
[![Health](https://phpackages.com/badges/hocvt-orchid-livewire/health.svg)](https://phpackages.com/packages/hocvt-orchid-livewire)
```

###  Alternatives

[laravel/pulse

Laravel Pulse is a real-time application performance monitoring tool and dashboard for your Laravel application.

1.7k12.1M99](/packages/laravel-pulse)[mhmiton/laravel-modules-livewire

Using Laravel Livewire in Laravel Modules package with automatically registered livewire components for every modules.

236409.6k9](/packages/mhmiton-laravel-modules-livewire)[alexsabur/orchid-livewire

A Livewire macro for Orchid Platform

255.7k](/packages/alexsabur-orchid-livewire)

PHPackages © 2026

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