{"id":23219187,"url":"https://github.com/solutionforest/filament-scaffold","last_synced_at":"2025-04-05T05:04:02.498Z","repository":{"id":249955736,"uuid":"831958202","full_name":"solutionforest/filament-scaffold","owner":"solutionforest","description":"Filament scaffold is a toolkit for Filament Admin that simplifies the generation of resources in the panel","archived":false,"fork":false,"pushed_at":"2025-02-03T12:11:39.000Z","size":798,"stargazers_count":55,"open_issues_count":0,"forks_count":13,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-29T04:05:11.975Z","etag":null,"topics":["filament","filament-plugin","filamentphp","filamentphp-plugin","laravel","scaffold"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":false,"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/solutionforest.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":"solution-forest"}},"created_at":"2024-07-22T04:22:46.000Z","updated_at":"2025-02-17T18:18:43.000Z","dependencies_parsed_at":"2024-12-25T22:07:20.869Z","dependency_job_id":"d10216b5-e943-499b-a190-f8443160ecfa","html_url":"https://github.com/solutionforest/filament-scaffold","commit_stats":null,"previous_names":["solutionforest/filament-scaffold"],"tags_count":9,"template":false,"template_full_name":"filamentphp/plugin-skeleton","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solutionforest%2Ffilament-scaffold","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solutionforest%2Ffilament-scaffold/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solutionforest%2Ffilament-scaffold/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solutionforest%2Ffilament-scaffold/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/solutionforest","download_url":"https://codeload.github.com/solutionforest/filament-scaffold/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247289424,"owners_count":20914464,"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":["filament","filament-plugin","filamentphp","filamentphp-plugin","laravel","scaffold"],"created_at":"2024-12-18T21:20:06.124Z","updated_at":"2025-04-05T05:04:02.481Z","avatar_url":"https://github.com/solutionforest.png","language":"PHP","readme":"# Filament Scaffold\n\n[![Latest Version on Packagist](https://img.shields.io/packagist/v/solution-forest/filament-scaffold.svg?style=flat-square)](https://packagist.org/packages/solution-forest/filament-scaffold)\n[![Total Downloads](https://img.shields.io/packagist/dt/solution-forest/filament-scaffold.svg?style=flat-square)](https://packagist.org/packages/solution-forest/filament-scaffold)\n\n## Description\nFilament scaffold is a toolkiit for Filament Admin that simplifies the generation of resources. It can automatically generate models, resources, migration files, and more, creating corresponding forms and table views based on the database table. Filament scaffold aims to speed up development and reduce the time spent writing repetitive code.\n\n## Features\n- Automatic Filament Resource Generation: Generates Filament resource files, including forms and table views, based on specified table names.\n\n- Support for Multiple Resource Types: Can generate models, migration files, factories, controllers, and more.\n\n- Dynamic Form Generation: Automatically generates form fields based on database table structure.\n\n- Seamless Integration with Laravel and Filament: Utilizes Laravel's Artisan commands and Filament's extension mechanism for efficient resource management.\n\n## Installation\nYou can install the package via composer:\n```bash\ncomposer require solution-forest/filament-scaffold\n```\n\nThen, you need to connect to the database in the .env file.\n\nIn your preject, app\\Providers\\Filament\\xxxPanelProvider.php add this code:\n```bash\nuse Solutionforest\\FilamentScaffold\\FilamentScaffoldPlugin;\n\npublic function panel(Panel $panel): Panel\n    {\n        return $panel\n            ..., \n            -\u003eplugin(FilamentScaffoldPlugin::make());\n    }\n```\n\n## Publishing Configuration file\nTo publish the configuration file, use:\n```bash\nphp artisan vendor:publish --provider=\"Solutionforest\\FilamentScaffold\\FilamentScaffoldServiceProvider\" --tag=\"filament-scaffold-config\"\n```\nYou can turn to false to unable the form.\n```bash\nreturn [\n    'enabled' =\u003e false,\n];\n```\n\n## Usage\nIn your admin page will have a Scaffolds from. You can choose the table from the connected database or create other table in the form. Then, you can click the \"Create\" button to create the reesource, model or migration.\n\n\u003e [!NOTE]\n\u003e In the resource file, for the table, the table column type default is TextColumn. For the form, the type defualt is TextInput.\n\n## Preview\n\nhttps://github.com/user-attachments/assets/adb41e0c-df7c-48cf-8d33-d5e7d985efb7\n\n![image](https://github.com/user-attachments/assets/48aaee63-f46c-4d9f-b6d1-0539384b2538)\n\n![image](https://github.com/user-attachments/assets/6c8cdc4b-1330-487a-acab-17cf94f93f82)\n![image](https://github.com/user-attachments/assets/c5f6a10f-139d-4344-b135-59f3d18acb30)\n![image](https://github.com/user-attachments/assets/37872ba4-00f8-414f-a041-f7ab10cef1a8)\n![image](https://github.com/user-attachments/assets/af177dd6-8382-42d7-b5cd-b5b1e97ed753)\n\n## Changelog\n\nPlease see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.\n\n## Contributing\n\nPlease 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- [celia514](https://github.com/solutionforest)\n- [All Contributors](../../contributors)\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.\n","funding_links":["https://github.com/sponsors/solution-forest"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsolutionforest%2Ffilament-scaffold","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsolutionforest%2Ffilament-scaffold","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsolutionforest%2Ffilament-scaffold/lists"}