xetaio / xetaravel-ckeditor
A wrapper to use CKEditor with Laravel.
v1.0.5
2017-04-30 20:22 UTC
Requires
- php: >=5.6.4
- ckeditor/ckeditor: dev-full/4.6.x
- illuminate/support: ~5.0
README
Xetaravel CKEditor
This is a wrapper to use CKEditor with Laravel.
Installation
composer require xetaio/xetaravel-ckeditorImport the CkeditorServiceProvider in your
config/app.php:Xetaravel\Ckeditor\Providers\CkeditorServiceProvider::classPublish the CKEditor to your public directory :
php artisan vendor:publish --tag=ckeditorUsage
<script src="/vendor/ckeditor/release/ckeditor.js"></script> <script> CKEDITOR.replace('name-go-here'); </script>Update
To update CKEditor to a new version, first run :
composer updateThen, delete the folder
public/vendor/releaseand run the artisan command again :php artisan vendor:publish --tag=ckeditorNote : Do not put any custom configuration files in the
public/vendor/releasedirectory. Instead put them in thepublic/vendordirectory or somewhere else and attach them to theCKEDITORinstance.