Search by

filertia / panel

PolCPP

Resource-driven admin panels for Laravel, Inertia, Vue 3, and Tailwind CSS 4

Package info

gitlab.com/PolCPP/filertia

Issues

pkg:composer/filertia/panel

Statistics

Installs: 10

Dependents: 0

Suggesters: 0

Stars: 0

v0.5.1 2026-11-22 16:48 UTC

This package is auto-updated.

Last update: 2026-11-22 17:53:36 UTC


README

Resource-driven admin panels for Laravel, built with Inertia, Vue 3, and Tailwind CSS 4.

Describe an admin screen in one PHP class and Filertia gives you a searchable, sortable, filterable list, a detail page, validated create and edit forms, actions, and authorization backed by your existing Laravel policies.

Why Filertia?

I love Filament's developer experience — describing a full admin resource in one clean PHP class is hard to beat. I just don't like Livewire, and I like Inertia a lot more.

Filertia brings that same PHP-first resource workflow to an Inertia + Vue 3 stack:

  • One PHP class per resource — fields, validation, search, filters, sorting, relationships, and actions live together.
  • Native Inertia & Vue 3 — real Vue pages, URL-driven table state, zero Livewire round-trips, and Vue slots whenever you want to customize a cell, input, or screen.
  • Components you own — the Vue UI publishes straight into your app (resources/js/Pages/Filertia), styled with Tailwind CSS 4.
  • Standard Laravel everywhere — Eloquent queries, Laravel policies for every action, FormRequest-style validation rules, and Laravel's built-in database notifications.

A taste of it

<?php

namespace App\Admin;

use App\Models\TowerType;
use Filertia\Resource;

class TowerTypes extends Resource
{
    public string $model = TowerType::class;

    public function fields(): array
    {
        return [
            'name' => ['rules' => 'required|string|max:255', 'search' => true, 'sort' => true],
            'status' => [
                'options' => ['draft' => 'Draft', 'live' => 'Live'],
                'rules' => 'required|in:draft,live',
                'filter' => true,
            ],
            'created_at' => ['type' => 'datetime', 'sort' => true, 'hidden' => true],
        ];
    }
}

Register it in config/filertia.php:

'resources' => [
    'tower-types' => App\Admin\TowerTypes::class,
],

Open /admin/tower-types and you get a searchable, sortable, filterable list with URL-persisted state, a detail page, and validated create/edit forms — automatically scoped to what your TowerTypePolicy allows.

Try the demo

Want to see everything in action? Check out filertia-demo — a full Laravel 13 shop and blog admin panel (modeled after the Filament demo) with seeded SQLite data, dashboard charts, multi-step order creation, repeaters, global search, inbox notifications, CSV export/import, drag-to-reorder, and one-click Manager / Viewer login.

Clone both repos side by side:

git clone https://gitlab.com/PolCPP/filertia.git
git clone https://gitlab.com/PolCPP/filertia-demo.git
cd filertia-demo
composer setup
php artisan serve

What's included

  • Fields declared once for the list, detail page, and editor: computed, relationship, and JSON columns, selects, checkbox lists, tags, file and multi-image uploads, searchable lookups with inline create, live slugs, Markdown editor, repeaters for related rows, conditional fields, sections, and step-by-step create wizards.
  • URL-driven lists with a split view (the list beside the chosen record), drag-a-row-onto-a-record actions, status tabs, stat tiles, global and per-field search, sorting, select/range/boolean/custom filters, row grouping, column totals, drag-to-reorder, table or gallery views, column visibility picker, pagination, and bulk selection.
  • Actions on rows, bulk selections, list headers, and custom pages — with confirmations, modal forms, file downloads, and toast notifications.
  • Review before writes: a review hook on actions and resources shows who or what a change affects and waits for the user to confirm it.
  • Policy-backed authorization using standard Laravel policies, with per-screen overrides and query/tenant scoping.
  • Soft deletes to filter, restore, and permanently delete trashed records.
  • Panel tools: global search across resources, a notification inbox (Filertia\Notify::send()), and CSV export & import.
  • Dashboards & custom pages with stats, sparklines, charts, tables, and page-level date/select filters — or mount your own Vue page inside the panel shell.
  • Flexible navigation & theming: sidebar, top, or dual navigation layouts, custom brand/logo/accent colors, and light/dark/system theme switching.
  • Vue slots to replace a cell, an input, an action button, or an entire section of a screen.
  • Loud mistakes: a misspelled field option, config key, or filter type throws an exception naming the exact place and suggesting the closest valid word.

Requirements

  • PHP 8.3+
  • Laravel 12 or 13
  • inertiajs/inertia-laravel 2.0 or 3.0
  • Vue 3 with the matching @inertiajs/vue3 adapter
  • Tailwind CSS 4

Quick installation

Install Filertia with Composer:

composer require filertia/panel

Or install directly from GitLab or a local sibling checkout (../filertia):

# From GitLab
composer config repositories.filertia vcs https://gitlab.com/PolCPP/filertia
composer require 'filertia/panel:dev-main'

# Or from a local sibling directory (../filertia)
composer config repositories.filertia path ../filertia
composer require 'filertia/panel:@dev'

Publish the configuration file and Vue components:

php artisan vendor:publish --tag=filertia-config
php artisan vendor:publish --tag=filertia-ui

Tell Tailwind CSS 4 to scan the published components in resources/css/app.css:

@import "tailwindcss";
@source "../js/Pages/Filertia";

Then create a Filertia\Resource class, register it in config/filertia.php, and add a Laravel policy for your model. See Getting started for the complete 10-minute walkthrough.

Documentation

To do thisRead
Install the package and build a first screenGetting started
Set the URL prefix, middleware, navigation, branding, and themeConfiguration
Describe a model: fields, validation, uploads, lookups, permissions, related recordsResources
Tune the list: search, filters, sorting, views, pagination, embedded listsLists
Add buttons that run code, with forms, downloads, and notificationsActions
Add a dashboard or a custom toolPages
Change how something renders in VueFrontend
Understand how the package works insideArchitecture
Change Filertia itselfContributing

Two standalone examples also live in examples: Tower Types, a minimal resource, and Material Meta with its Vue wrapper, showing lookups, a link action, and a custom cell slot.

Development & testing

composer install
composer test

The test suite runs against an in-memory SQLite database through Orchestra Testbench and needs no host application. See Contributing for trying local changes in a host app and contribution guidelines.

License

Filertia is open-sourced software licensed under the MIT license.