Download the PHP package infinityxtech/filament-unlayer without Composer
On this page you can find all versions of the php package infinityxtech/filament-unlayer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download infinityxtech/filament-unlayer
More information about infinityxtech/filament-unlayer
Files in infinityxtech/filament-unlayer
Package filament-unlayer
Short Description Filament wrapper for unlayer editor.
License MIT
Homepage https://github.com/InfinityXTech/filament-unlayer
Informations about the package filament-unlayer
Filament Unlayer
This is a filament wrapper for unlayer editor with custom select field with unlayer templates.
Installation
You can install the package via composer:
Create a cast within your model:
You can publish the config file with:
Optionally, you can publish the views using
Usage
As any other filament form field:
In case you want to select unlayer templates you can use:
By default the Unlayer field name should content
but if you need to change it you will need to update SelectTemplate
:
If you want to pass additional options to unlayer, which will join default object set by plugin with your additional data you can use:
You can still chain other methods on these since:
SelectTemplate
is extending filament Select
field.
Unlayer
is extending filament Field
class.
Changelog
Please see CHANGELOG for more information on what has changed recently.
License
The MIT License (MIT). Please see License File for more information.
All versions of filament-unlayer with dependencies
filament/filament Version ^3.0
filament/forms Version ^3.0
spatie/laravel-package-tools Version ^1.15.0