Download the PHP package nakipelo/orchid-ckeditor without Composer
On this page you can find all versions of the php package nakipelo/orchid-ckeditor. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download nakipelo/orchid-ckeditor
More information about nakipelo/orchid-ckeditor
Files in nakipelo/orchid-ckeditor
Package orchid-ckeditor
Short Description CKEditor editor for Laravel Orchid
License MIT
Informations about the package orchid-ckeditor
CKEditor for Laravel Orchid
CKEditor 4 integration with Laravel Orchid Platform for creating rich text editors in the admin panel.
Important: This package uses CKEditor 4.22.1, which is the last free version. All subsequent versions (4.23+) are LTS versions that require a commercial license purchase.
Features
- ✅ Full integration with Laravel Orchid Platform
- ✅ CKEditor 4.22.1 (last free version) with file upload support
- ✅ Laravel File Manager integration
- ✅ Stimulus controller for modern JavaScript
- ✅ Customizable editor options
- ✅ CSRF token support
- ✅ Automatic asset publishing
Requirements
- PHP ^8.1
- Laravel Orchid ^14.0
- Laravel File Manager (optional)
Installation
1. Install via Composer
2. Publish Assets
3. Publish Configuration (optional)
Usage
Basic Usage
Advanced Usage with Custom Options
Configuration
After publishing the configuration, the config/ckeditor.php file will contain:
File Manager Setup
For file management, it's recommended to use Laravel File Manager:
Then add routes to routes/web.php:
API
CKEditor Class
Methods
make(?string $name = null): static- Create a new instancesetOptions(array $options): CKEditor- Set editor optionsmergeOptions(array $options): CKEditor- Merge with existing options
Options Examples
JavaScript API
The package uses a Stimulus controller ckeditor with the following capabilities:
Data Attributes
data-controller="ckeditor"- Activate controllerdata-ckeditor-id-value- Field IDdata-ckeditor-options-value- JSON editor optionsdata-ckeditor-editor-url-value- URL for loading CKEditor
Events
The controller automatically handles:
- Editor content changes
- CSRF tokens for file uploads
- Source/visual mode switching
- Fullscreen mode closing on navigation
Development
Install Dependencies
Build Assets
Project Structure
License
MIT License. See the LICENSE file for details.
Author
Egor Gruzdev
- Email: [email protected]
Support
If you have questions or suggestions, please create an Issue in the project repository.
Changelog
See CHANGELOG.md for a list of changes.
Note: This package uses CKEditor 4.22.1, which is the last free version. All subsequent versions (4.23+) are LTS versions that require a commercial license purchase. For CKEditor 5 usage, consider other solutions or create a fork with updated integration.
Русская Документация
- README на русском
- Changelog на русском