Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Ckeditor Laravel Package

hillrange/ckeditor

A Laravel package for integrating CKEditor into your application. It provides a ready-to-use Blade component, configurable toolbar and plugin options, image and file upload handling, and support for custom CKEditor builds, letting you add rich text editing to any form with minimal setup.

View on GitHub
Deep Wiki
Context7

CKEditor for Symfony 4.x

Frequently asked questions about Ckeditor
Is hillrange/ckeditor compatible with Laravel?
No. hillrange/ckeditor is a Symfony bundle built for Symfony 4.x, not a Laravel package. Symfony bundles rely on Kernel::registerBundles(), DependencyInjection extensions, and FrameworkBundle services, none of which exist in Laravel. Treat it as incompatible as-is rather than something that only needs minor integration work.
Can I install hillrange/ckeditor with Composer in a Laravel application?
Composer may install the code, but Laravel will not auto-register or boot the Symfony bundle. There is no Laravel service provider, no Blade component, and no config publishing that matches Laravel conventions. Adding it to composer.json gives you an unused dependency and potential PHP version conflicts, so it should not be added.
What PHP and Laravel versions does hillrange/ckeditor support?
The package targets Symfony 4.x, which is end-of-life, and its PHP constraint is likely in the PHP 7.x range. That can conflict with Laravel 9 and newer, which require PHP 8.0+, and Laravel 11, which requires PHP 8.2+. Check the composer.json constraints before making any decision, but the Symfony 4 coupling remains the primary blocker.
How do I add CKEditor to a Laravel Blade form?
Use CKEditor 5 installed through npm and built with Vite, then mount it on a textarea inside a Blade component such as x-rich-text. Put the editor script in a stack or dedicated partial and bind it to the textarea on page load. Round-trip the submitted HTML through a Laravel FormRequest and server-side sanitization.
Does hillrange/ckeditor handle image and file uploads in Laravel?
The bundle may include Symfony-oriented upload configuration, but it does not provide Laravel routes, controllers, storage disks, or validation rules. In Laravel you would need to implement your own upload endpoint with auth checks, file validation, Storage::put, and a JSON response for the editor. Do not assume the bundle's upload handling works without a Symfony FrameworkBundle environment.
Which CKEditor version does hillrange/ckeditor bundle, CKEditor 4 or CKEditor 5?
A Symfony 4-era CKEditor bundle almost certainly wraps CKEditor 4, which is end-of-life and has a distinct GPL, LGPL, or commercial licensing profile. CKEditor 5 is an architectural rewrite and is not a drop-in replacement. Confirm the bundled major version and licensing before any pilot or procurement decision.
Is hillrange/ckeditor maintained and safe for production?
The package shows zero stars, zero dependents, and a repository-name to package-name mismatch, so there is little community review or production usage. Symfony 4.4 lost security support in November 2023, and there is no realistic path for a security advisory to reach you. Assume no upstream fixes and treat any defect as permanently yours.
What is the best alternative to hillrange/ckeditor for rich text editing in Laravel?
For Laravel, use a maintained JavaScript editor build such as CKEditor 5 via npm, TinyMCE, or Trix, mounted in a Blade component and built with Vite. Pair it with a FormRequest and an HTML sanitizer on the server. The Symfony bundle contributes little beyond configuration defaults, which you can reimplement in roughly 50 lines of Blade and JavaScript.
How should I sanitize CKEditor HTML output in Laravel?
Never trust the editor's client-side output. Validate and sanitize submitted HTML server-side using an allowlist sanitizer such as HTMLPurifier, and store only the cleaned result. A Symfony bundle would not have handled this for your Laravel request lifecycle, so this is your responsibility regardless of which editor you choose.
Can I fork hillrange/ckeditor into a Laravel package or service provider?
You could fork it, but that is a rewrite rather than an integration. You would need to wire the bundle's services manually, bypass its DependencyInjection extension, and replace Symfony Twig form themes with Blade rendering. Because the editor's real value is the JavaScript build plus a textarea binding, extracting the configuration defaults and reimplementing them is usually cheaper and safer.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console
pnscripts/filament-broadquill-lite
pnscripts/laravel-sentfold-lite
vleap/mx-sdk-laravel-internal
twidpay/utils
htetmyathlaing/scout-elasticsearch-driver
artisan-toolbox/front-awesome
ls/client-assistant
users-au/laravel-client
cgv/localized-resource
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox
pairus/product-data
fayne/laravel-filament-cms-core
nodisrupt/laravel-agent
sierratecnologia/media-manager