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.9k↓70.3%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 2w 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

31

—

LowBetter than 65% of packages

Maintenance41

Moderate activity, may be stable

Popularity25

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

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

9628.9M155](/packages/livewire-flux)[civicrm/civicrm-core

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

762297.9k53](/packages/civicrm-civicrm-core)[livewire/volt

An elegantly crafted functional API for Laravel Livewire.

4227.0M133](/packages/livewire-volt)[ramonrietdijk/livewire-tables

Dynamic tables for models with Laravel Livewire

21362.6k](/packages/ramonrietdijk-livewire-tables)[yajra/laravel-datatables-export

Laravel DataTables Queued Export Plugin.

362.3M4](/packages/yajra-laravel-datatables-export)[lakm/laravel-comments

Integrate seamless commenting functionality into your Laravel project.

40815.8k1](/packages/lakm-laravel-comments)

PHPackages © 2026

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