PHPackages                             performing/laravel-view-helpers - 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. [Templating &amp; Views](/categories/templating)
4. /
5. performing/laravel-view-helpers

ActiveLibrary[Templating &amp; Views](/categories/templating)

performing/laravel-view-helpers
===============================

This is my package laravel-view-helpers

0.4.7(3y ago)4425MITPHPPHP ^8.1CI failing

Since Jan 15Pushed 3y ago1 watchersCompare

[ Source](https://github.com/performingdigital/laravel-view-helpers)[ Packagist](https://packagist.org/packages/performing/laravel-view-helpers)[ Docs](https://github.com/performing/laravel-view-helpers)[ RSS](/packages/performing-laravel-view-helpers/feed)WikiDiscussions main Synced today

READMEChangelog (10)Dependencies (10)Versions (18)Used By (0)

Laravel View Helpers for InertiaJS
==================================

[](#laravel-view-helpers-for-inertiajs)

This package offers some helpers to build common data strucuture and logic in the context of CRUD applications.

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

[](#installation)

You can install the package via composer:

```
composer require performing/laravel-view-helpers
```

You can publish the config file with:

```
php artisan vendor:publish --tag="laravel-view-helpers-config"
```

This is the contents of the published config file:

```
return [
    'table' => [
        'use_filters' => true,

        'default_filters' => [
            Filter::make('Search')
                ->type('text')
                ->on(function ($query, $value) {
                    return $query->search($value);
                })
        ],

        'default_query' => [
            'per_page' => 15,
        ]
    ]
];
```

Usage
-----

[](#usage)

It's basically headless so it gives you just the data in the right format to build simple tables and forms. You will need to build all the query and filter logic.

Instead of using `Inertia::render` to return the components data we use `Performing\View\Page::class`.

```
class PostController
{
    public function index(Request $request)
    {
        return Page::make('Posts')
            ->table(fn (Table $table) => $table
                ->rows(
                    Post::query()->latest(),
                    PostResource::class
                )
                ->columns([
                    Column::make('ID')->sortable(),
                    Column::make('Title', 'title')->sortable(),
                    Column::make('Azioni')->component(ColumnType::Actions)->sortable(),
                ])
            )->form([
                Input::make('Text'),
                Input::make('Password')->type('password'),
                Input::make('Dropdown')->type('select')->options([ 1 => 'one', 2 => 'two']),
                Input::make('Message')->type('textarea'),
            ])
            ->render('Posts/Index');
    }
}
```

Testing
-------

[](#testing)

```
composer test
```

Credits
-------

[](#credits)

- [Giorgio Pogliani](https://github.com/giorgiopogliani)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

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

Recently: every ~3 days

Total

17

Last Release

1122d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/28866565?v=4)[Giorgio Pogliani](/maintainers/giorgiopogliani)[@giorgiopogliani](https://github.com/giorgiopogliani)

---

Top Contributors

[![giorgiopogliani](https://avatars.githubusercontent.com/u/28866565?v=4)](https://github.com/giorgiopogliani "giorgiopogliani (45 commits)")

---

Tags

laravelperforminglaravel-view-helpers

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/performing-laravel-view-helpers/health.svg)

```
[![Health](https://phpackages.com/badges/performing-laravel-view-helpers/health.svg)](https://phpackages.com/packages/performing-laravel-view-helpers)
```

###  Alternatives

[spatie/laravel-permission

Permission handling for Laravel 12 and up

12.9k102.4M1.4k](/packages/spatie-laravel-permission)[spatie/laravel-pdf

Create PDFs in Laravel apps

1.0k4.8M47](/packages/spatie-laravel-pdf)[dedoc/scramble

Automatic generation of API documentation for Laravel applications.

2.1k11.2M99](/packages/dedoc-scramble)[spatie/laravel-passkeys

Use passkeys in your Laravel app

471890.7k38](/packages/spatie-laravel-passkeys)[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3914.6k](/packages/rawilk-profile-filament-plugin)[codewithdennis/filament-select-tree

The multi-level select field enables you to make single selections from a predefined list of options that are organized into multiple levels or depths.

329530.5k29](/packages/codewithdennis-filament-select-tree)

PHPackages © 2026

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