Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tiagosilvapereira/vemto-filament-plugin
A Vemto plugin for generating Filament admin panels
https://github.com/tiagosilvapereira/vemto-filament-plugin
admin code filament generator laravel panel plugin vemto
Last synced: about 10 hours ago
JSON representation
A Vemto plugin for generating Filament admin panels
- Host: GitHub
- URL: https://github.com/tiagosilvapereira/vemto-filament-plugin
- Owner: TiagoSilvaPereira
- Created: 2021-12-17T17:31:12.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-02-14T15:18:40.000Z (12 months ago)
- Last Synced: 2024-02-14T16:29:44.212Z (12 months ago)
- Topics: admin, code, filament, generator, laravel, panel, plugin, vemto
- Language: JavaScript
- Homepage:
- Size: 193 KB
- Stars: 14
- Watchers: 5
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Filament Resources
> This is a [Vemto](https://vemto.app/) plugin. Vemto is a GUI [Laravel](https://laravel.com/) generator with a complete set of tools for starting new [Laravel](https://laravel.com/) projects.
This plugin aims to bring the generation of complete [Filament Admin Panels](https://filamentadmin.com/) to your Vemto Laravel project.
## Filament v3 support
Filament v3 support was added to version 1.0.5
## Requirements
This plugin installs [Filament](https://filamentadmin.com/), and makes the initial configuration. If you already have Filament installed in the project, the plugin will skip the configuration step and generate the [resources](https://filamentadmin.com/docs/2.x/admin/resources).
After installing [Filament](https://filamentadmin.com/), you can just select what resources you want to generate based on your project CRUD applications.
## How it works?
Within the configuration page, you only need to select the main CRUDs that will be generated as a *Filament Resource* (those that will appear in the sidebar).
For each main CRUD, you can select to generate:
- Inputs (will generate the form inputs as Filament inputs, including *BelongsTo* selects)
- Relationships (will generate the *HasMany*, *BelongsToMany* and *MorphMany* relationships)## How does the resource generation works?
It is necessary to create CRUD applications for the models you want to generate Resources that will appear in the Admin Panel sidebar.
> **Note**: If you want some CRUD not to appear in the Admin Panel sidebar, but in the edit pages of their parent resources, you can uncheck the main CRUD and tag it in the relationships options of any main CRUD. In the lack of a CRUD for the relationship model, the plugin will generate a Resource based on the model data.