Download the PHP package valentin-morice/filament-sketchpad without Composer
On this page you can find all versions of the php package valentin-morice/filament-sketchpad. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download valentin-morice/filament-sketchpad
More information about valentin-morice/filament-sketchpad
Files in valentin-morice/filament-sketchpad
Package filament-sketchpad
Short Description A simple package that provides you with a sketchpad field in Filament
License MIT
Homepage https://github.com/valentin-morice/filament-sketchpad
Informations about the package filament-sketchpad
filament-sketchpad
A simple package that provides you with a sketchpad field in Filament.
Compatibility
| Filament | filament-sketchpad |
|---|---|
| 5.x | 2.x (this version) |
| 3.x | 1.x |
Installation
You can install the package via composer:
Usage
The filament-sketchpad plugin works as any other Filament schema component. Make sure the column on which it is called is cast to array (or json).
Set history configuration
Set controls configuration
Set download configuration
Minimal mode
Display only icons instead of buttons.
Set the height
NOTE: All standard injected utilities are available in your closures.
Translations
All button labels and the read-only empty state respect Laravel's active locale.
English (en) and French (fr) ship with the package. To customise or add a
locale, publish the translations and edit the file:
This creates lang/vendor/filament-sketchpad/{locale}/sketchpad.php, exposing the
undo, redo, clear, reset, download and empty keys.
Thanks to http://yiom.github.io/sketchpad/ for the JS.
License
The MIT License (MIT). Please see License File for more information.
All versions of filament-sketchpad with dependencies
filament/forms Version ^5.0
filament/infolists Version ^5.0
filament/support Version ^5.0
spatie/laravel-package-tools Version ^1.15.0