Skip to content
saddlephpPublic

About

The open-source admin panel framework for Laravel, built for Inertia and Vue. Saddle up.

Topics

Resources

Contributing

Security policy

Stars

4 stars

Watchers

2 watching

Forks

Repository files navigation

Saddle, there's a new admin panel in town

The open-source admin panel framework for Laravel, built for Inertia and Vue.

Docs · Packagist · Changelog · Contributing

العربية • Deutsch • English • Español • Français • Italiano • 日本語 • 한국어 • Nederlands • Polski • Português (BR) • Русский • Türkçe • 简体中文

What is Saddle?

Saddle turns your Eloquent models into a polished admin panel. You describe each model once, as a PHP resource class with a form and a table, and Saddle builds the list, create, edit and view screens, the search, the filters and the actions. It renders with Inertia and Vue, uses your existing Laravel login and policies, and stays out of the rest of your app.

Tables that do the work

Sortable, searchable columns with badges and booleans, filters, row actions and bulk actions with confirmation. Export the current view to CSV, or import a CSV through the same validation your form uses.

Tables and columns →

A Saddle resource table with filters and a bulk-action bar
A Saddle edit form with a section, a two-column grid and tabs

Forms with real layout

Eleven field types, from text and selects to searchable relation pickers, file uploads and Markdown. Arrange them in sections, grids and tabs. Validation, visibility and saving all follow the same field definitions.

Fields → · Form layout →

One class per model

A resource is plain PHP. Drop it in app/Saddle/ and it is discovered at boot: no routes, controllers or Vue files to write. Access follows your Laravel policies and is closed by default.

Resources → · Authorization →

class HorseResource extends Resource
{
    public static string $model = Horse::class;

    public static function form(Form $form): Form
    {
        return $form->schema([
            Text::make('name')->required(),
            BelongsTo::make('rider')->searchable(),
            Toggle::make('is_saddled'),
        ]);
    }

    public static function table(Table $table): Table
    {
        return $table->columns([
            TextColumn::make('name')->sortable()->searchable(),
            BooleanColumn::make('is_saddled'),
        ]);
    }
}

Features

Resources

  • Auto-discovered resource classes
  • List, create, edit and read-only view pages
  • saddle:resource generator
  • Eager loading and relation columns

Forms

  • Text, password, textarea, number, select, toggle
  • Date, date-time, Markdown, file upload
  • Searchable BelongsTo picker
  • Sections, grids and tabs

Tables

  • Text, badge and boolean columns
  • Sorting, search and formatUsing
  • Select and boolean filters
  • Pagination

Actions

  • Row actions and bulk actions
  • Confirmation dialogs
  • Per-record policy checks
  • Transactional bulk runs

Relations

  • HasMany relation managers
  • Create, edit and delete related records in place
  • Scoped to the parent record

Dashboard

  • Stat widgets with mini charts
  • Chart widgets
  • Database notifications with a bell
  • Global search across resources

Access

  • Standard Laravel policies
  • Fail-closed by default
  • Per-field visibility with canSee
  • Uses your existing login

Multi-tenancy

  • URL-scoped tenants (/admin/{tenant})
  • Automatic query scoping and tenant stamping
  • Tenant switcher and self-registration
  • Access gate hook for billing

Data

  • CSV export of the current view
  • CSV import through form validation
  • Soft deletes with restore and force delete

Look and language

  • Light, dark and system themes
  • Brand name, accent and theme tokens
  • Panel translated into 14 languages
  • CSP nonce support

Plugins

  • Plain Composer packages
  • Custom fields and columns as web components
  • Hooks for shared props, navigation and theme tokens

Developer experience

  • Pest and PHPUnit testing helpers
  • saddle:install and saddle:upgrade
  • Stale-asset warning after upgrades
  • Laravel 11, 12 and 13

Built with

Laravel PHP 8.4+ Inertia Vue 3 Tailwind CSS 4 Vite

Quick start

Requires PHP 8.4+ and Laravel 11.48+, 12 or 13.

composer require saddlephp/saddlephp
php artisan saddle:install
php artisan saddle:resource HorseResource --model=Horse

Sign in through your app's login, register a policy for the model, then visit /admin. Run php artisan saddle:upgrade after each package update. The getting started guide walks through each step.

Learn more

Building Resources · Fields · Form layout · Tables · Filters · Actions · Relation managers
Panel Dashboard widgets · Global search · Notifications · Soft deletes · Import and export
Running it Authorization · Multi-tenancy · Tenancy extras · Configuration · Theming · Localization
Extending Plugins · Testing helpers · Contributing · Security

License

Saddle is open-source software licensed under the MIT license.

About

The open-source admin panel framework for Laravel, built for Inertia and Vue. Saddle up.

Topics

Resources

Contributing

Security policy

Stars

4 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages