Download the PHP package zeeshantariq/filament-attachmate without Composer
On this page you can find all versions of the php package zeeshantariq/filament-attachmate. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download zeeshantariq/filament-attachmate
More information about zeeshantariq/filament-attachmate
Files in zeeshantariq/filament-attachmate
Package filament-attachmate
Short Description Implement a polymorphic morphMany relationship for managing attachments within Filament
License MIT
Informations about the package filament-attachmate
Filament Attachmate
This package provides attachment management using a polymorphic morphMany relationship within Filament. The system allows for the seamless association of attachments with various models, enabling flexible and efficient handling of file attachments across your application.
Installation
You can install the package via composer:
The package comes with publishable assets:
Migrations
Configuration
-
Create your model
-
Configure your model to handle morphMany attachments
-
Configure the Filament resource
- In your
form
Filament resource declaration you need to addAttachmentFileUpload::make()
so your users can upload the attachments.
- In your
- Configure the Filament resource The last configuration needed, is to add HandleAttachmets trait to the CreateRecord components of your model
CreateRecord component
- Configure the Filament resource The last configuration needed, is to add HandleAttachmets trait to the EditRecord components of your model
EditRecord component
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Credits
License
The MIT License (MIT). Please see License File for more information.