filertia / panel
Resource-driven admin panels for Laravel, Inertia, Vue 3, and Tailwind CSS 4
Requires
- php: ^8.3
- inertiajs/inertia-laravel: ^2.0 || ^3.0
- laravel/framework: ^12.0 || ^13.0
Requires (Dev)
- orchestra/testbench: ^11.0 || ^10.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
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
reviewhook 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-laravel2.0 or 3.0- Vue 3 with the matching
@inertiajs/vue3adapter - 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 this | Read |
|---|---|
| Install the package and build a first screen | Getting started |
| Set the URL prefix, middleware, navigation, branding, and theme | Configuration |
| Describe a model: fields, validation, uploads, lookups, permissions, related records | Resources |
| Tune the list: search, filters, sorting, views, pagination, embedded lists | Lists |
| Add buttons that run code, with forms, downloads, and notifications | Actions |
| Add a dashboard or a custom tool | Pages |
| Change how something renders in Vue | Frontend |
| Understand how the package works inside | Architecture |
| Change Filertia itself | Contributing |
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.