---
description: >-
  https://www.itsolutionstuff.com/post/how-to-install-and-use-ckeditor-in-laravelexample.html
---

# How to Install and Use CKEditor in Laravel?

## How to Install and Use CKEditor in Laravel?

By Hardik Savani June 9, 2020 Category : Laravel![](https://a.vdo.ai/core/assets/img/cross.svg)PlayUnmuteLoaded: 1.17%Fullscreen[![VDO.AI](https://a.vdo.ai/core/assets/img/logo.svg)](https://vdo.ai/?utm_medium=video\&utm_term=itsolutionstuff.com\&utm_source=vdoai_logo)

This simple article demonstrates of laravel install ckeditor example. if you have question about how to install ckeditor in laravel 7 then i will give simple example with solution. Here you will learn how to use ckeditor in laravel.

i would like to share with you how to install and use ckeditor in laravel 6, laravel 7, laravel 8 and laravel 9. Alright, let’s dive into the steps.

Sometime we need to use rich textbox in our laravel application at that time i will suggest to use CKEditor, CKEditor is wide range use and very popular. you can easily use ckeditor without using any library here.

CKEditor provide to use HTML Element for text content formatting. CKEditor provide listing, image upload, link, font style, bold, italic etc. here i will give you simple example that will show you how to add and use CKEditor in laravel app.

You can get bellow preview:

[![](https://go.ezodn.com/charity/http/charity-ads.s3.amazonaws.com/charity_ads/1093/728x90.png)](https://go.ezodn.com/ads/charity/proxy?p_id=c36b075a-1fc7-4437-4d4b-65a6b6d72e76\&d_id=77568\&imp_id=6876482492766564\&c_id=1093\&l_id=10016\&url=https%3A%2F%2Fwww.directrelief.org%2Femergency%2Fukraine-crisis%2F\&ffid=1\&co=VN)

![](https://www.itsolutionstuff.com/upload/laravel-ckeditor.png)

**Blade File Code:**

Let's see simple example blade file code using cdn js file library:

```
<html><head>    <title>How to Install And Use CKEditor In Laravel? - ItSolutionStuff.com</title>    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css"></head><body>    <div class="container">        <div class="row">            <div class="col-md-8 offset-2 mt-5">                <div class="card">                    <div class="card-header bg-info">                        <h6 class="text-white">How to Install And Use CKEditor In Laravel? - ItSolutionStuff.com</h6>                    </div>                    <div class="card-body">                        <form method="post" action="" enctype="multipart/form-data">                            @csrf                            <div class="form-group">                                <label>Name</label>                                <input type="text" name="name" class="form-control"/>                            </div>                              <div class="form-group">                                <label><strong>Description :</strong></label>                                <textarea class="ckeditor form-control" name="description"></textarea>                            </div>                            <div class="form-group text-center">                                <button type="submit" class="btn btn-success btn-sm">Save</button>                            </div>                        </form>                    </div>                </div>            </div>        </div>    </div>    </body>   <script src="//cdn.ckeditor.com/4.14.0/standard/ckeditor.js"></script><script type="text/javascript">    $(document).ready(function() {       $('.ckeditor').ckeditor();    });</script>  </html>
```

**Display Content:**

after store content of rich textbox then you can display as bellow on listing page.

Read Also: [How to Use Summernote Editor in Laravel?](https://www.itsolutionstuff.com/post/how-to-use-summernote-editor-in-laravelexample.html)

```
{!! $post->description !!}
```

Now you can check your own.

Few days ago i posted tutorial about Laravel CKEditor with image, so if you want to add that feature that follow this tutorial: [Laravel 7 CKEditor with Image Upload.](https://www.itsolutionstuff.com/post/laravel-6-ckeditor-image-upload-exampleexample.html)

You can also use Summernote Editor as here: [Laravel 7 Summernote Editor Example.](https://www.itsolutionstuff.com/post/how-to-use-summernote-editor-in-laravelexample.html)

i hope it can help you...
