PHPackages                             dvarilek/livewire-closure-synthesizer - 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. dvarilek/livewire-closure-synthesizer

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

dvarilek/livewire-closure-synthesizer
=====================================

A Closure Synthesizer for Laravel Livewire

v1.1.0(1y ago)08.8k↓33.1%1MITPHP

Since Apr 17Pushed 1y ago1 watchersCompare

[ Source](https://github.com/dvarilek/livewire-closure-synthesizer)[ Packagist](https://packagist.org/packages/dvarilek/livewire-closure-synthesizer)[ RSS](/packages/dvarilek-livewire-closure-synthesizer/feed)WikiDiscussions main Synced 1mo ago

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

Livewire Closure Synthesizer
============================

[](#livewire-closure-synthesizer)

This simple package adds a custom closure synthesizer for Laravel Livewire.

This essentially allows you to pass closures into livewire components and persist them as public properties across requests.

Closures are serialized and encrypted which ensures that a curious user does not know what the closure contains.

---

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

[](#installation)

All you have to do is just run the following command:

```
composer require dvarilek/livewire-closure-synthesizer
```

---

Example Usage
-------------

[](#example-usage)

In blade:

```

```

In Livewire component

```
class Component extends \Livewire\Component
{

    public ?Closure $modifyComponentUsing = null;

    // ...
}
```

---

Testing
-------

[](#testing)

```
composer test && composer stan
```

---

Changelog
---------

[](#changelog)

Please refer to [Package Releases](https://github.com/dvarilek/table-select/releases) for more information about changes.

---

License
-------

[](#license)

This package is under the MIT License. Please refer to [License File](LICENSE.md) for more information

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance47

Moderate activity, may be stable

Popularity25

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 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 ~1 days

Total

2

Last Release

394d ago

### Community

Maintainers

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

---

Top Contributors

[![dvarilek](https://avatars.githubusercontent.com/u/93047221?v=4)](https://github.com/dvarilek "dvarilek (2 commits)")

---

Tags

closurelaravellivewiresynthesizerclosurelivewiresynthesizersynth

###  Code Quality

TestsPest

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/dvarilek-livewire-closure-synthesizer/health.svg)

```
[![Health](https://phpackages.com/badges/dvarilek-livewire-closure-synthesizer/health.svg)](https://phpackages.com/packages/dvarilek-livewire-closure-synthesizer)
```

###  Alternatives

[livewire/flux

The official UI component library for Livewire.

9475.0M86](/packages/livewire-flux)[rappasoft/laravel-livewire-tables

A dynamic table component for Laravel Livewire

2.0k2.7M31](/packages/rappasoft-laravel-livewire-tables)[livewire/volt

An elegantly crafted functional API for Laravel Livewire.

4205.3M84](/packages/livewire-volt)[wire-elements/modal

Laravel Livewire modal component

1.2k3.8M31](/packages/wire-elements-modal)[mediconesystems/livewire-datatables

Advanced datatables using Laravel, Livewire, Tailwind CSS and Alpine JS

1.2k711.3k8](/packages/mediconesystems-livewire-datatables)[masmerise/livewire-toaster

Beautiful toast notifications for Laravel / Livewire.

505550.3k6](/packages/masmerise-livewire-toaster)

PHPackages © 2026

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