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)012.0k↓71.2%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 3d 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 69% of packages

Maintenance44

Moderate activity, may be stable

Popularity26

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity39

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

442d 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.

9527.8M128](/packages/livewire-flux)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751291.4k43](/packages/civicrm-civicrm-core)[ramonrietdijk/livewire-tables

Dynamic tables for models with Laravel Livewire

21259.6k](/packages/ramonrietdijk-livewire-tables)[lakm/laravel-comments

Integrate seamless commenting functionality into your Laravel project.

40715.0k1](/packages/lakm-laravel-comments)[tomshaw/electricgrid

A feature-rich Livewire package designed for projects that require dynamic, interactive data tables.

119.4k](/packages/tomshaw-electricgrid)[marcorieser/statamic-livewire

A Laravel Livewire integration for Statamic.

23111.5k15](/packages/marcorieser-statamic-livewire)

PHPackages © 2026

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