Download the PHP package maulik/filament-auto-crud without Composer
On this page you can find all versions of the php package maulik/filament-auto-crud. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download maulik/filament-auto-crud
More information about maulik/filament-auto-crud
Files in maulik/filament-auto-crud
Package filament-auto-crud
Short Description Automatically generate Filament resources from Laravel models and database tables
License MIT
Informations about the package filament-auto-crud
Filament Auto CRUD Generator
This Laravel package automatically generates Filament resources (CRUD panels) based on your existing models or database tables. It analyzes your database schema and model relationships to create fully functional Filament resources with minimal configuration.
Features
- Automatically generate Filament resources from existing models
- Detect and configure appropriate form fields based on column types
- Handle model relationships (belongsTo, hasMany, etc.)
- Customizable field type mappings
- Support for common column types
- Exclude specific tables/models from generation
- Optional AI-powered field configuration (requires OpenAI API key)
Requirements
- PHP 8.1 or higher
- Laravel 10.x or 11.x
- Filament 3.x
Installation
Configuration
Publish the configuration file:
This will create a config/filament-auto-crud.php file where you can customize:
- Excluded tables/models Then, enable AI settings in the configuration file:
Contributing
Contributions are welcome! Please submit a Pull Request.
License
This package is open-sourced software licensed under the MIT license.- Field type mappings
- Relationship field types
- Resource generation path
- AI integration settings (optional)
Usage
Generate a Resource for a Single Model
Or with full namespace:
Generate Resources for All Models
Options:
--path: The path to look for models (default: app/Models)--namespace: The namespace of the models (default: App\Models)
Customization
Field Type Mappings
You can customize how database column types map to Filament field types in the configuration file:
Relationship Field Types
Configure how different relationship types are rendered:
Excluding Tables/Models
Specify which tables or models should be excluded from resource generation:
AI Integration (Optional)
Enable AI-powered features by setting your OpenAI API key in your .env file:
Then enable AI integration in the configuration:
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
This package is open-sourced software licensed under the MIT license.
All versions of filament-auto-crud with dependencies
illuminate/support Version ^10.0|^11.0
filament/filament Version ^3.0
doctrine/dbal Version ^3.0