Download the PHP package iamgerwin/filament-tinymce without Composer
On this page you can find all versions of the php package iamgerwin/filament-tinymce. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package filament-tinymce
Filament TinyMCE Editor
A powerful and flexible TinyMCE rich text editor field for Filament v3, featuring comprehensive customization options, image uploads, dark mode support, and multiple editor profiles.
Features
- 🎨 Full TinyMCE 6 Integration - Complete access to TinyMCE's powerful editing capabilities
- 🌓 Dark Mode Support - Seamless theme switching that follows Filament's theme
- 📸 Image Upload - Built-in image upload with configurable storage options
- ⚙️ Highly Customizable - Configure plugins, toolbar, and initialization options
- 📱 Responsive Design - Mobile-optimized editor configuration
- 🚀 Multiple Profiles - Pre-configured editor profiles (simple, standard, full)
- 🔒 Secure - Built-in CSRF protection and authentication checks for uploads
- 🎯 PHP 8.3 Optimized - Leveraging modern PHP features for better performance
Requirements
- PHP ^8.3
- Laravel ^11.0
- Filament ^3.2
Installation
You can install the package via composer:
Publish the configuration file:
Optionally, publish the assets:
Configuration
TinyMCE API Key
To use TinyMCE cloud, add your API key to your .env file:
You can get a free API key from TinyMCE.
Configuration File
The configuration file config/filament-tinymce.php provides extensive customization options:
Usage
Basic Usage
Simple Profile
For basic text editing needs:
With Image Uploads
Enable image uploads with custom configuration:
Custom Toolbar and Plugins
Height Configuration
Advanced Configuration
Using in Resource Forms
Validation
The field works seamlessly with Laravel's validation rules:
Read-only and Disabled States
Advanced Features
Dark Mode Support
The editor automatically adapts to Filament's dark mode. No additional configuration needed.
Autosave
Configure autosave functionality:
Custom CSS Styling
Apply custom styles to the editor content:
Mobile Configuration
Different configuration for mobile devices:
Image Upload Security
When enabling image uploads, the package includes:
- File type validation (images only)
- File size validation
- Automatic file name sanitization
- CSRF protection
- Authentication checks
Configure in your config/filament-tinymce.php:
Testing
Run the test suite:
Run tests with coverage:
Run PHPStan analysis:
Format code with Pint:
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- iamgerwin
- All Contributors
This package is inspired by Nova4-TinymceEditor and uses the Spatie Laravel Package Skeleton.
License
The MIT License (MIT). Please see License File for more information.
All versions of filament-tinymce with dependencies
filament/filament Version ^3.2
spatie/laravel-package-tools Version ^1.16
illuminate/contracts Version ^11.0