PHPackages                             nodus-it/livewire-core - 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. nodus-it/livewire-core

ActiveLibrary

nodus-it/livewire-core
======================

An livewire core package

v0.7(3mo ago)04.2k2MITPHPPHP ^8.3CI passing

Since Feb 25Pushed 3mo ago2 watchersCompare

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

READMEChangelog (8)Dependencies (5)Versions (10)Used By (2)

Livewire Core
=============

[](#livewire-core)

[![License](https://camo.githubusercontent.com/5bd438cc869d72a6484c3d3d2b4ea4cb75e194823fec85f6af4a13f87253db17/68747470733a2f2f706f7365722e707567782e6f72672f6e6f6475732d69742f6c697665776972652d636f72652f6c6963656e7365)](//packagist.org/packages/nodus-it/livewire-core)[![Latest Unstable Version](https://camo.githubusercontent.com/7960fdd873c4cdf4b9b70e95b3f3441d9996dfdcc9d09db6f8cbea7abf3b700a/68747470733a2f2f706f7365722e707567782e6f72672f6e6f6475732d69742f6c697665776972652d636f72652f762f756e737461626c65)](//packagist.org/packages/nodus-it/livewire-core)[![Total Downloads](https://camo.githubusercontent.com/7411a86f1f46f7654680b203d9dc1cf0545fa2181c27dbec40272978e1d5e6e2/68747470733a2f2f706f7365722e707567782e6f72672f6e6f6475732d69742f6c697665776972652d636f72652f646f776e6c6f616473)](//packagist.org/packages/nodus-it/livewire-core)[![Build Status](https://camo.githubusercontent.com/644454a56529ceaaba5ec1a7e4633a0d3963fe75580b59d5a5981d441fba175e/68747470733a2f2f7472617669732d63692e6f72672f6e6f6475732d69742f6c697665776972652d636f72652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/nodus-it/livewire-core)[![codecov](https://camo.githubusercontent.com/463e0f87b65b5878cc92ceb9d8b9d1a87b3eb934de3c2fd02722dc40a7fe4cbc/68747470733a2f2f636f6465636f762e696f2f67682f6e6f6475732d69742f6c697665776972652d636f72652f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/nodus-it/livewire-core)

*The core package for all Laravel Livewire packages from Nodus-IT.*

**This package is currently being developed and is still in testing**

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

[](#installation)

You can install the package via composer:

```
composer require nodus-it/livewire-core

```

You can publish the config file with:

```
php artisan vendor:publish --provider="Nodus\Packages\LivewireCore\LivewireCoreServiceProvider" --tag="livewire-core:config"

```

You can publish the blade views with:

```
php artisan vendor:publish --provider="Nodus\Packages\LivewireCore\LivewireCoreServiceProvider" --tag="livewire-core:views"

```

Usage
-----

[](#usage)

### Controller integration

[](#controller-integration)

All our Livewire components can be used as standalone in your blade views as you are used to it. But we are offering an optional way to integrate a Livewire component so to say as full page component into your controllers.

In order to use this, you need to use the `SupportsLivewire` trait in your controller. This trait provides a single function named `livewire()` where you can pass your component class and an array with parameters:

```
public function index()
{
    return $this->livewire(UserListView::class, ['builder' => User::query()]);
}
```

By default, this would be extending a layout called `layouts.app` and adding the component to a section called `content`.

#### Customize layout or section

[](#customize-layout-or-section)

In order to customize the used layout and/or section you have two possible ways. First you could use the fluent interface of the `LivewireComponent` class, which is returned when calling the `livewire()` method. With that you can just pass your desired settings via the following methods:

```
public function index()
{
    return $this->livewire(UserListView::class, ['builder' => User::query()])
        ->layout('myFolder.layoutName', ['title' => '...'])
        ->section('myContentSection');
}
```

In case you don't want to define this on every `livewire()` call, you can also add some properties and methods to your controller, with which you can define the default layout, the layout parameters and the default section for all `livewire()` calls of this controller:

```
protected $defaultLayout = 'myFolder.layoutName';

protected $defaultSection = 'myContentSection';

private function getLayoutData()
{
    return [
        'title' => $this->title,
    ];
}
```

### CSP nonce handling

[](#csp-nonce-handling)

This package provides the support for the Content Security Policy (CSP) nonce for all assets in the Laravel Livewire packages from Nodus-IT. To use it you need to add your CSP nonce provider callback to the config:

```
// Possible values: "", "null"
'csp_nonce'   => 'my_nonce_provider_function',
```

The generated nonce is then automatically added to all assets provided by our packages.

For ease of use we added also a Blade Directive for adding the nonce HTML attribute to your custom assets:

```

...

```

Testing
-------

[](#testing)

```
composer test

```

License
-------

[](#license)

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

###  Health Score

47

—

FairBetter than 94% of packages

Maintenance81

Actively maintained with recent releases

Popularity20

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 86.5% 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 ~258 days

Recently: every ~287 days

Total

8

Last Release

99d ago

PHP version history (5 changes)v0.1PHP ^7.4 || ^8.0

v0.2PHP ^8.0 || ^8.1

v0.3PHP ^8.0 || ^8.1 || ^8.2

v0.4PHP ^8.1

v0.6PHP ^8.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/030fe5fffddf0c329473564b64057c625a3a6e92b0841650d6b196fbc644e0a6?d=identicon)[bastian-schur](/maintainers/bastian-schur)

---

Top Contributors

[![dtvmedia](https://avatars.githubusercontent.com/u/18654895?v=4)](https://github.com/dtvmedia "dtvmedia (32 commits)")[![bastian-schur](https://avatars.githubusercontent.com/u/2923151?v=4)](https://github.com/bastian-schur "bastian-schur (5 commits)")

###  Code Quality

TestsPest

### Embed Badge

![Health badge](/badges/nodus-it-livewire-core/health.svg)

```
[![Health](https://phpackages.com/badges/nodus-it-livewire-core/health.svg)](https://phpackages.com/packages/nodus-it-livewire-core)
```

###  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)[power-components/livewire-powergrid

PowerGrid generates Advanced Datatables using Laravel Livewire.

1.7k1.7M6](/packages/power-components-livewire-powergrid)[livewire/flux

The official UI component library for Livewire.

9385.0M86](/packages/livewire-flux)[livewire/volt

An elegantly crafted functional API for Laravel Livewire.

4195.3M84](/packages/livewire-volt)[jantinnerezo/livewire-alert

This package provides a simple alert utilities for your livewire components.

8041.2M20](/packages/jantinnerezo-livewire-alert)[leandrocfe/filament-apex-charts

Apex Charts integration for Filament PHP.

4861.2M8](/packages/leandrocfe-filament-apex-charts)

PHPackages © 2026

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