PHPackages                             flatpack/flatpack - 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. [Admin Panels](/categories/admin)
4. /
5. flatpack/flatpack

ActiveLibrary[Admin Panels](/categories/admin)

flatpack/flatpack
=================

Flatpack: Administration panel for Laravel, ready to assemble.

v1.0.17(2y ago)1199[1 PRs](https://github.com/laravel-flatpack/flatpack/pulls)MITPHPPHP ^8.1CI passing

Since Apr 2Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/laravel-flatpack/flatpack)[ Packagist](https://packagist.org/packages/flatpack/flatpack)[ Docs](https://github.com/laravel-flatpack/flatpack)[ GitHub Sponsors](https://github.com/faustoq)[ RSS](/packages/flatpack-flatpack/feed)WikiDiscussions main Synced today

READMEChangelog (10)Dependencies (16)Versions (27)Used By (0)

[![Image of package](.github/package-cover.png)](.github/package-cover.png)

[![Latest Version on Packagist](https://camo.githubusercontent.com/3b1d6eb1717a21048af0a99e9e0d0a9c439e73cbe9b9eca3e5d5c482c30fea21/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f666c61747061636b2f666c61747061636b2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/flatpack/flatpack)[![License](https://camo.githubusercontent.com/8b6b2f140d3d66d76ec3e33499446c54ec2cd40286080c74a8d06f08efe60ac1/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6c61726176656c2d666c61747061636b2f666c61747061636b)](LICENSE.md)[![Test Coverage](.github/badge-coverage.svg)](https://github.com/laravel-flatpack/flatpack/actions/workflows/run-tests.yml)[![GitHub Tests Status](https://camo.githubusercontent.com/1030911c279e151082adfff932ee28f4783c862892473bec9094a7c2cccda88e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6c61726176656c2d666c61747061636b2f666c61747061636b2f72756e2d74657374732e796d6c)](https://github.com/laravel-flatpack/flatpack/actions/workflows/run-tests.yml)[![GitHub Code Style Status](https://camo.githubusercontent.com/9de807a40f61af304ded7f91ea8cb3e0d21272796dd90aeca02867173fe70ee8/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6c61726176656c2d666c61747061636b2f666c61747061636b2f7068702d63732d66697865722e796d6c3f6c6162656c3d636f64652532307374796c65)](https://github.com/laravel-flatpack/flatpack/actions/workflows/php-cs-fixer.yml)

Flatpack
========

[](#flatpack)

📦 Administration panel for Laravel, ready to assemble.

- Quickly create a CMS for your Eloquent models.
- Define components with simple and declarative YAML files.
- Build a complete administration panel for your Laravel app in seconds.

📕 [Official Documentation](https://laravel-flatpack.com)

[Flatpack](https://laravel-flatpack.com) makes building fully functional user interfaces for admin panels easier than ever: as easy as editing few lines of a YAML file.

Besides providing a rich set of already built components and a solid stack to build a secure and intuitive experience for the users, it offers a fast and flexible solution for developers who want to have fun, try out new things and save precious time building up the an administration panels.

Flatpack is a reactive full-stack app, built with [TALL stack](https://tallstack.dev/).

[![Demo](.github/demo.gif)](.github/demo.gif)

---

Quick Install
-------------

[](#quick-install)

Install the package via composer:

```
composer require flatpack/flatpack
```

Publish the config file and compiled assets:

```
php artisan vendor:publish --tag="flatpack"
```

Note: To make sure that the public assets are always up-to-date, remember to add this command to the `post-update-cmd` list in your `composer.json` file.

```
  "post-update-cmd": [
      "@php artisan vendor:publish --tag=flatpack"
  ],
```

Usage
-----

[](#usage)

Generating Flatpack composition files for `App\Models\Post` model...

```
php artisan make:flatpack Post
```

This command will create two files:

- A form template `/flatpack/posts/form.yaml`, that defines the posts form.
- A list template `/flatpack/posts/list.yaml`, that defines the posts table with pagination.

Let's check the result, visit [/backend/posts](http://localhost/backend/posts).

Now start assembling, grab the generated files and map your model's attributes as you need.

Examples
--------

[](#examples)

Defining a form:

```
title: Post
model: App\Models\Post
icon: book-open

toolbar:
  save:
    type: button
    label: Save
    action: save
    style: primary
    shortcut: s

main:
  title:
    label: Post Title
    placeholder: Your Post Title
    type: text

  body:
    type: block-editor

sidebar:
  created_at:
    label: Created
    type: datetime-picker

  updated_at:
    label: Updated
    type: datetime-picker
```

Defining a list:

```
title: Post
model: App\Models\Post
icon: book-open
order: 1

toolbar:
  create:
    label: New Post
    icon: plus
    link: create
    style: primary
    shortcut: enter

columns:
  id:
    label: ID
    sortable: true
    invisible: true

  title:
    label: Title
    sortable: true
    searchable: true

  created_at:
    label: Created
    type: datetime
    format: "Y-m-d H:i:s"
    sortable: true

  updated_at:
    label: Updated
    type: datetime
    format: "Y-m-d H:i:s"
    sortable: true
```

⚙️ You can customise the yaml composition files by mapping your model's attributes, using components of differnt types and features: Data tables, text inputs, rich text editors, date pickers, tag pickers, searchable select menus, image upload, toggles and more.

📖 [Check out the documentation](https://laravel-flatpack.com/reference)

Requirements
------------

[](#requirements)

- PHP 8.x
- Composer
- Laravel 9.x

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Contributions are welcome! Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Fausto Quaggia](https://github.com/faustoq)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

42

—

FairBetter than 88% of packages

Maintenance60

Regular maintenance activity

Popularity16

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 84.9% 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 ~36 days

Recently: every ~57 days

Total

18

Last Release

931d ago

PHP version history (2 changes)v1.0.0PHP ^8.0

v1.0.9PHP ^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/7d41237f0baba0ba822d39c50fa7d54c47eedb3c35cd7f75aeae389724c1b307?d=identicon)[faustoq](/maintainers/faustoq)

---

Top Contributors

[![faustoq](https://avatars.githubusercontent.com/u/6349671?v=4)](https://github.com/faustoq "faustoq (327 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (30 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (28 commits)")

---

Tags

admin-panelflatpacklaravelyamllaraveladminadministrationpanelflatpack

###  Code Quality

TestsPest

### Embed Badge

![Health badge](/badges/flatpack-flatpack/health.svg)

```
[![Health](https://phpackages.com/badges/flatpack-flatpack/health.svg)](https://phpackages.com/packages/flatpack-flatpack)
```

###  Alternatives

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.9M386](/packages/easycorp-easyadmin-bundle)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1616.4k14](/packages/2lenet-crudit-bundle)[dcat-plus/laravel-admin

dcat-plus admin

1474.0k10](/packages/dcat-plus-laravel-admin)

PHPackages © 2026

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