📦 Flatpack: Administration panel for Laravel, ready to assemble.

Overview

Image of package

Latest Version on Packagist License GitHub Tests Action Status GitHub Code Style Action Status

Flatpack

📦 Administration panel for Laravel, ready to assemble.

  • Quickly create CRUD (Create, Read, Update, Delete) interfaces for your Eloquent models.
  • Define components with simple and declarative YAML files.
  • Build a complete administration panel for your Laravel app in seconds.

📕 Documentation


Quick Install

You can install the package via composer:

composer require flatpack/flatpack

Publish the config file and compiled assets:

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

Usage

Generate the 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 layout composition of your posts form.
  • A list template /flatpack/posts/list.yaml, that defines the layout composition of your posts table with pagination.

Let's check the result, visit /backend/posts.

Now start assembling, grab the generated files and define how they should look!

Examples

Defining a form

Example of generated file /flatpack/posts/form.yaml

fields:
  name:
    label: Name
    type: text

  description:
    label: Description
    type: textarea

  created_at:
    label: Created
    type: datetime-picker

  updated_at:
    label: Updated
    type: datetime-picker

Defining a list

Example of generated /flatpack/posts/list.yaml

columns:
  id:
    label: ID
    sortable: true
    searchable: true

  name:
    label: Name
    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 edit the yaml composition files by mapping your model's attributes with components of differnt types and features.

📖 Check out the documentation

Requirements

  • PHP 8.x
  • Composer
  • Laravel 9.x

Includes:

Dependency Version More info
Tailwindcss 3.0.23 Docs
Alpine 3.9.0 Docs
Livewire 2.6 Docs
WireUI 1.0 Github, Docs
Livewire Tables 1.22 Github
Livewire EditorJS 1.4 Github

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Contributions are welcome! Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.

Comments
Releases(v1.0.7)
  • v1.0.7(Apr 27, 2022)

    What's Changed

    • fix: tag-input field type styling
    • fix: button styling
    • test flatpack actions
    • test traits
    • other tests
    • chore(deps): bump dependabot/fetch-metadata from 1.3.0 to 1.3.1 by @dependabot in https://github.com/laravel-flatpack/flatpack/pull/15

    Full Changelog: https://github.com/laravel-flatpack/flatpack/compare/v1.0.6...v1.0.7

    Source code(tar.gz)
    Source code(zip)
  • v1.0.6(Apr 23, 2022)

    What's Changed

    • Toggle form field type
    • Fix: sync related records after saving
    • Fix: "text" option in buttons
    • Other minor fixes

    Full Changelog: https://github.com/laravel-flatpack/flatpack/compare/v1.0.5...v1.0.6

    Source code(tar.gz)
    Source code(zip)
  • v1.0.5(Apr 20, 2022)

    What's Changed

    • Custom Actions https://github.com/laravel-flatpack/flatpack/pull/13
    • chore(deps): bump async from 2.6.3 to 2.6.4 by @dependabot in https://github.com/laravel-flatpack/flatpack/pull/14
    • Other minor fixes

    Full Changelog: https://github.com/laravel-flatpack/flatpack/compare/v1.0.4...v1.0.5

    Source code(tar.gz)
    Source code(zip)
  • v1.0.4(Apr 12, 2022)

    What's Changed

    • Versioned assets
    • Editable field placeholder

    Full Changelog: https://github.com/laravel-flatpack/flatpack/compare/v1.0.3...v1.0.4

    Source code(tar.gz)
    Source code(zip)
  • v1.0.3(Apr 10, 2022)

    What's Changed

    • Editable field input (View Docs)
    • List scopes (View Docs)
    • Button links
    • Stack scripts
    • Navigation aria labels
    • Layout optimisations

    Full Changelog: https://github.com/laravel-flatpack/flatpack/compare/v1.0.2...v1.0.3

    Source code(tar.gz)
    Source code(zip)
  • v1.0.2(Apr 9, 2022)

    What's Changed

    • Authorize any user in local environment
    • Include AlpineJS

    Full Changelog: https://github.com/laravel-flatpack/flatpack/compare/v1.0.1...v1.0.2

    Source code(tar.gz)
    Source code(zip)
  • v1.0.1(Apr 4, 2022)

    What's Changed

    • Flatpack User contract
    • Authentication https://github.com/laravel-flatpack/flatpack/pull/12

    Full Changelog: https://github.com/laravel-flatpack/flatpack/compare/v1.0.0...v1.0.1

    Source code(tar.gz)
    Source code(zip)
  • v1.0.0(Apr 2, 2022)

    First Release

    • Flatpack core
    • Basic file generators
    • TailwindCSS
    • Form and List components
    • Image Uploader component
    • WYSIWYG editor component (ckeditor)
    • Block editor component (editor.js)
    • Livewire Tables component included
    • Main Wire UI components included
    Source code(tar.gz)
    Source code(zip)
Owner
Flatpack
Administration panel for Laravel, ready to assemble.
Flatpack
This is an open source demo of administration panel for polymorphic relationship and SEO content

Laravel SEO admin This application demonstrates usage of polymorphic relationships described at (http://maxoffsky.com/code-blog/using-polymorphic-rela

Maksim Surguy 127 Oct 11, 2022
Nebula is a minimalistic and easy to use administration tool for Laravel applications, made with Laravel, Alpine.js, and Tailwind CSS.

Nebula Nebula is a minimalistic and easy to use administration tool for Laravel applications, made with Laravel, Alpine.js, and Tailwind CSS. Nebula m

Nebula 228 Nov 11, 2022
An open-source Laravel library for building high-quality, accessible applications and administration dashboards.

Arpite An open-source Laravel library for building high-quality, accessible applications and administration dashboards. Built using Inertia.js, React,

Arpite 3 Jul 5, 2022
Worlds (soon to be) most advanced Anime site! Featuring Administration features and everything you need for users and yourself. The successor of aniZero.

/**********************************************************************\ | _____ H33Tx & xHENAI __ 31.01.2022| |

HENAI.eu 40 Jan 3, 2023
Simple and ready to use API response wrapper for Laravel.

Laravel API Response Simple Laravel API response wrapper. Installation Install the package through composer: $ composer require obiefy/api-response Re

Obay Hamed 155 Dec 14, 2022
A nice GUI for Laravel Artisan, ready out of the box, configurable and handy for non-CLI experienced developers.

Artisan UI A nice GUI for Laravel Artisan, ready out of the box, configurable and handy for non-CLI experienced developers. Supported commands must be

Pablo Leone 1 Dec 3, 2021
Laravel Backup Panel provides a dashboard for spatie/laravel-backup package.

Laravel Backup Panel Laravel Backup Panel provides a dashboard for spatie/laravel-backup package. It lets you: create a backup (full | only database |

Pavel Mironchik 366 Dec 6, 2022
Easily add a full Laravel blog (with built in admin panel and public views) to your laravel project with this simple package.

Webdevetc BlogEtc - Complete Laravel Blog Package Quickly add a blog with admin panel to your existing Laravel project. It has everything included (ro

WebDevEtc. 227 Dec 25, 2022
An open source Laravel Soundboard with Admin Panel CRUD (Create Read Update Delete) built on Laravel, Bootstrap, and Vue.js

Laravel Soundboard An open source Laravel Soundboard with Admin Panel CRUD (Create Read Update Delete) built on Laravel 5.8, Bootstrap 4, Vue.js, Boot

Jeremy Kenedy 24 Oct 28, 2022
Laravel Ajax Datatable is a nice laravel admin panel which includes authentication, CRUD and Ajax datatable.

Laravel Ajax Datatable is a nice laravel admin panel which includes authentication, CRUD and Ajax datatable. the datatable is created with laravel & ajax so No need to install another package, yout can do search, sort, paginate and show records per page fastly.

Jumah 3 Oct 3, 2022
Easy-to-install Admin Panel for Laravel

CSS Framework: https://0notole.github.io/elements.css/ Install project: composer create-project --prefer-dist laravel/laravel screen, cd screen Add re

Anatoly Silko 3 Aug 25, 2021
Laravel Health Panel

Health Monitor Laravel Server & App Health Monitor and Notifier This package checks if the application resources are running as they should and create

Antonio Carlos Ribeiro 1.9k Dec 25, 2022
Simple project to send bulk comma-separated emails using laravel and messenger module from quick admin panel generator.

About Laravel Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experie

Novath Thomas 1 Dec 1, 2021
Access laravel log through Filament admin panel

Access laravel log through Filament admin panel Features Syntax highlighting Quickly jump between start and end of the file Refresh log contents Clear

Guilherme Saade 20 Nov 22, 2022
Easily add Laravel Telescope and Horizon to Filament admin panel.

Filament Debugger This is where your description should go. Limit it to a paragraph or two. Consider adding a small example. Installation You can inst

Stephen Jude 5 Nov 24, 2022
With dadjokes every time you load your control panel you'll be greeted by an epic dad joke on the dashboard.

Filament Dad Jokes Widget With DadJokes every time you load your control panel you'll be greeted by an epic dad joke on the dashboard. Installation Yo

Craig Smith 15 Jan 7, 2023
A mostly useless package to display framework versions at the bottom of the Admin navigation panel.

A mostly useless package to display framework versions at the bottom of the Filament Admin navigation panel and an optional widget to do the same in the dashboard or custom pages.

Adam Weston 10 Nov 8, 2022
Filament Admin Panel application installer.

Filament Installer Install globally with composer. composer global require awcodes/filament-installer Now you can run the new command to quickly set u

Adam Weston 7 Dec 18, 2022
A simple job posting application using PHP with an Admin Panel. Register, Login and create the job in apnel. The job gets posted on index page.

Jobee A simple job posting application using PHP with an Admin Panel. Register, Login and create the job in apnel. The job gets posted on index page.

Fahad Makhdoomi 2 Aug 27, 2022