{"id":26227617,"url":"https://github.com/laravel-flatpack/flatpack","last_synced_at":"2025-10-06T17:49:45.718Z","repository":{"id":41826637,"uuid":"450631905","full_name":"laravel-flatpack/flatpack","owner":"laravel-flatpack","description":"📦  Flatpack: Administration panel for Laravel, ready to assemble.","archived":false,"fork":false,"pushed_at":"2024-07-08T07:53:46.000Z","size":8944,"stargazers_count":11,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-08-31T23:35:27.471Z","etag":null,"topics":["admin-panel","flatpack","laravel","yaml"],"latest_commit_sha":null,"homepage":"https://laravel-flatpack.com","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/laravel-flatpack.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":".github/SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"faustoq"}},"created_at":"2022-01-21T20:32:50.000Z","updated_at":"2023-11-23T12:34:51.000Z","dependencies_parsed_at":"2024-04-04T21:44:44.679Z","dependency_job_id":null,"html_url":"https://github.com/laravel-flatpack/flatpack","commit_stats":{"total_commits":289,"total_committers":4,"mean_commits":72.25,"dds":"0.22491349480968859","last_synced_commit":"1d9316357c3b01dc7db22dc8189a3cedc02e43a9"},"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laravel-flatpack%2Fflatpack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laravel-flatpack%2Fflatpack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laravel-flatpack%2Fflatpack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laravel-flatpack%2Fflatpack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/laravel-flatpack","download_url":"https://codeload.github.com/laravel-flatpack/flatpack/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243285620,"owners_count":20266849,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["admin-panel","flatpack","laravel","yaml"],"created_at":"2025-03-12T20:18:10.373Z","updated_at":"2025-10-06T17:49:40.671Z","avatar_url":"https://github.com/laravel-flatpack.png","language":"PHP","funding_links":["https://github.com/sponsors/faustoq"],"categories":[],"sub_categories":[],"readme":"![Image of package](.github/package-cover.png)\n\n[![Latest Version on Packagist](https://img.shields.io/packagist/v/flatpack/flatpack.svg?style=flat-square)](https://packagist.org/packages/flatpack/flatpack)\n[![License](https://img.shields.io/github/license/laravel-flatpack/flatpack)](LICENSE.md)\n[![Test Coverage](.github/badge-coverage.svg)](https://github.com/laravel-flatpack/flatpack/actions/workflows/run-tests.yml)\n[![GitHub Tests Status](https://img.shields.io/github/actions/workflow/status/laravel-flatpack/flatpack/run-tests.yml)](https://github.com/laravel-flatpack/flatpack/actions/workflows/run-tests.yml)\n[![GitHub Code Style Status](https://img.shields.io/github/actions/workflow/status/laravel-flatpack/flatpack/php-cs-fixer.yml?label=code%20style)](https://github.com/laravel-flatpack/flatpack/actions/workflows/php-cs-fixer.yml)\n\n# Flatpack\n\n📦 Administration panel for Laravel, ready to assemble.\n\n- Quickly create a CMS for your Eloquent models.\n- Define components with simple and declarative YAML files.\n- Build a complete administration panel for your Laravel app in seconds.\n\n📕 [Official Documentation](https://laravel-flatpack.com)\n\n[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. \n\nBesides 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. \n\nFlatpack is a reactive full-stack app, built with [TALL stack](https://tallstack.dev/).\n\n![Demo](.github/demo.gif)\n\n---\n## Quick Install\n\nInstall the package via composer:\n\n```bash\ncomposer require flatpack/flatpack\n```\n\nPublish the config file and compiled assets:\n\n```bash\nphp artisan vendor:publish --tag=\"flatpack\"\n```\n\nNote: 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.\n\n```json\n  \"post-update-cmd\": [\n      \"@php artisan vendor:publish --tag=flatpack\"\n  ],\n```\n\n\n## Usage\n\nGenerating Flatpack composition files for `App\\Models\\Post` model...\n\n```bash\nphp artisan make:flatpack Post\n```\n\nThis command will create two files:\n\n- A form template `/flatpack/posts/form.yaml`, that defines the posts form.\n- A list template `/flatpack/posts/list.yaml`, that defines the posts table with pagination.\n\nLet's check the result, visit [/backend/posts](http://localhost/backend/posts).\n\nNow start assembling, grab the generated files and map your model's attributes as you need.\n\n## Examples\n\nDefining a form:\n\n```yaml\ntitle: Post\nmodel: App\\Models\\Post\nicon: book-open\n\ntoolbar:\n  save:\n    type: button\n    label: Save\n    action: save\n    style: primary\n    shortcut: s\n\nmain:\n  title:\n    label: Post Title\n    placeholder: Your Post Title\n    type: text\n\n  body:\n    type: block-editor\n\nsidebar:\n  created_at:\n    label: Created\n    type: datetime-picker\n\n  updated_at:\n    label: Updated\n    type: datetime-picker\n```\n\nDefining a list:\n\n```yaml\ntitle: Post\nmodel: App\\Models\\Post\nicon: book-open\norder: 1\n\ntoolbar:\n  create:\n    label: New Post\n    icon: plus\n    link: create\n    style: primary\n    shortcut: enter\n\ncolumns:\n  id:\n    label: ID\n    sortable: true\n    invisible: true\n\n  title:\n    label: Title\n    sortable: true\n    searchable: true\n\n  created_at:\n    label: Created\n    type: datetime\n    format: \"Y-m-d H:i:s\"\n    sortable: true\n\n  updated_at:\n    label: Updated\n    type: datetime\n    format: \"Y-m-d H:i:s\"\n    sortable: true\n```\n\n⚙️ 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.\n\n📖 [Check out the documentation](https://laravel-flatpack.com/reference)\n\n## Requirements\n\n- PHP 8.x\n- Composer\n- Laravel 9.x\n\n## Changelog\n\nPlease see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.\n\n## Contributing\n\nContributions are welcome! Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.\n\n## Security Vulnerabilities\n\nPlease review [our security policy](../../security/policy) on how to report security vulnerabilities.\n\n## Credits\n\n-   [Fausto Quaggia](https://github.com/faustoq)\n-   [All Contributors](../../contributors)\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaravel-flatpack%2Fflatpack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flaravel-flatpack%2Fflatpack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaravel-flatpack%2Fflatpack/lists"}