Download the PHP package moonshine/filepond without Composer
On this page you can find all versions of the php package moonshine/filepond. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download moonshine/filepond
More information about moonshine/filepond
Files in moonshine/filepond
Package filepond
Short Description Description
License MIT
Homepage https://getmoonshine.app
Informations about the package filepond
MoonShine FilePond
A modern file upload field for MoonShine admin panel, powered by the FilePond JavaScript library.
Features
- Drag and drop file uploads
- Image previews with customizable dimensions
- Multiple file uploads with grid layout
- File reordering via drag and drop
- File type validation
- Localization support (EN, RU)
- Seamless integration with MoonShine v4+
Requirements
- PHP 8.2+
- Laravel 10+
- MoonShine 4.0+
Installation
Install the package via Composer:
Publish assets:
Optionally, publish translations:
Usage
Basic Usage
Multiple Files
Note: When using
multiple(), ensure your model has the appropriate cast for the attribute:
With File Type Restrictions
Configuration Methods
Item Dimensions
Set the preview item height with optional min/max values:
Grid Layout
To disable grid layout and stack items vertically:
Aspect Ratio
Set the panel aspect ratio for the upload area:
Compact Mode
Enable compact layout where the preview replaces the drop area:
Complete Example
Localization
The package includes translations for English and Russian. To customize translations, publish the language files:
Translation files will be published to lang/vendor/moonshine-filepond/.
License
The MIT License (MIT). Please see License File for more information.
All versions of filepond with dependencies
ext-curl Version *
ext-json Version *