Download the PHP package nitsnets/filament-wysiwyg-json-formatter without Composer

On this page you can find all versions of the php package nitsnets/filament-wysiwyg-json-formatter. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package filament-wysiwyg-json-formatter

Filament WYSIWYG JSON Formatter

A Filament 4 form component that provides a WYSIWYG editor with structured JSON output and user mentions support.

Features

Installation

Install the package via Composer:

Package Development

If you're contributing to the package development, you need to install npm dependencies and compile assets:

Basic Usage

Customize Toolbar Buttons

You can customize the buttons that appear in the toolbar:

Available Buttons

User Mentions

Enable user mentions by passing an array of users:

Users can mention others by typing @ followed by the user's name. Mentions are saved in structured JSON format:

Data Format

The component saves and reads data in structured JSON format:

Supported Element Types

Complete Example

Validation

The component is compatible with all Filament validation rules:

Translations

The plugin includes translations in multiple European languages by default.

Available Languages

Publishing Translations

If you want to customize translations, you can publish the language files:

This will copy the translation files to lang/vendor/filament-wysiwyg-json-formatter/ where you can modify them.

Adding New Languages

To add support for a new language:

  1. Create a new directory in lang/vendor/filament-wysiwyg-json-formatter/ with the language code (e.g., fr, de, pt)
  2. Copy the content from es/wysiwyg.php or en/wysiwyg.php
  3. Translate the texts to the new language

Translation Structure

Styles

Styles are loaded asynchronously only when the component is used (loadedOnRequest), which optimizes performance:

Compatibility

Dependencies

The package requires the following dependencies which are automatically installed:

License

MIT

Credits

Developed by Nitsnets


All versions of filament-wysiwyg-json-formatter with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
filament/filament Version ^4.0
mallardduck/blade-lucide-icons Version ^1.0
spatie/laravel-package-tools Version ^1.15.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package nitsnets/filament-wysiwyg-json-formatter contains the following files

Loading the files please wait ...