PHPackages                             johncms/ckeditor-media-embed - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Image &amp; Media](/categories/media)
4. /
5. johncms/ckeditor-media-embed

ActiveLibrary[Image &amp; Media](/categories/media)

johncms/ckeditor-media-embed
============================

The library replaces the semantic output of the CKEditor 5 with the html code of the content preview

2.0(2y ago)25381MITPHPPHP ^8.0

Since Apr 2Pushed 2y ago3 watchersCompare

[ Source](https://github.com/johncms/ckeditor-media-embed)[ Packagist](https://packagist.org/packages/johncms/ckeditor-media-embed)[ Docs](https://github.com/johncms/ckeditor-media-embed)[ RSS](/packages/johncms-ckeditor-media-embed/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (6)Dependencies (6)Versions (8)Used By (0)

`johncms/ckeditor-media-embed`
==============================

[](#johncmsckeditor-media-embed)

[![PHP-CI](https://github.com/johncms/ckeditor-media-embed/workflows/PHP-CI/badge.svg?branch=master)](https://github.com/johncms/ckeditor-media-embed/actions)[![Packagist](https://camo.githubusercontent.com/bbab9c49330540939b515cb98309c2e89efb662f58a148f90ba8c8c4c915102a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6a6f686e636d732f636b656469746f722d6d656469612d656d6265642e737667)](https://packagist.org/packages/johncms/ckeditor-media-embed)[![Source Code](https://camo.githubusercontent.com/8c0f0bca8b55aa9674620ca9e2e6996ce28d612f0dc473554fafe85fe3c6f4c1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f736f757263652d6a6f686e636d73253246636b656469746f722d2d6d656469612d2d656d6265642d626c7565)](https://github.com/johncms/ckeditor-media-embed)[![GitHub tag (latest SemVer)](https://camo.githubusercontent.com/4714eb741ed019be9e9139d8e10003f349d4a664d0b871a2a8deee43c84e23f4/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f7461672f6a6f686e636d732f636b656469746f722d6d656469612d656d6265642e7376673f6c6162656c3d737461626c65)](https://github.com/johncms/ckeditor-media-embed/releases)[![Packagist](https://camo.githubusercontent.com/706cae61bcca664a1d5dd7e4076529edf165eca894a2fe296d52ce699820fcf5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6a6f686e636d732f636b656469746f722d6d656469612d656d626564)](https://packagist.org/packages/johncms/ckeditor-media-embed)

The library replaces the semantic output of the CKEditor 5 with the html code of the content preview.

Installation
------------

[](#installation)

The preferred method of installation is via [Composer](http://getcomposer.org). Run the following command to install the package and add it as a requirement to your project's `composer.json`:

```
composer require johncms/ckeditor-media-embed
```

Example
-------

[](#example)

```
$providers = [
    new \Simba77\EmbedMedia\Providers\Youtube(
        [
            'classes' => 'embed-responsive embed-responsive-16by9',
            'styles'  => [
                'max-width' => '100%',
                'width'     => '100%',
            ],
        ]
    ),
];

$embed = new \Simba77\EmbedMedia\Embed($providers);

$html = '';

echo $embed->embedMedia($html);
```

License
-------

[](#license)

The `simba77/ckeditor-media-embed` library is licensed for use under the MIT License (MIT).
Please see [LICENSE](https://github.com/johncms/ckeditor-media-embed/blob/master/LICENSE) for more information.

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~164 days

Recently: every ~241 days

Total

7

Last Release

882d ago

Major Versions

1.2.0 → 2.02023-12-17

PHP version history (2 changes)1.0.0PHP ^7.3|^8.0

2.0PHP ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/f5eb677319842cc5aeadd52a94873f1635087faa55c8afa9dd2045b89267f4b5?d=identicon)[Simba77](/maintainers/Simba77)

---

Top Contributors

[![simba77](https://avatars.githubusercontent.com/u/17108240?v=4)](https://github.com/simba77 "simba77 (24 commits)")

---

Tags

ckeditor5embedmediaphpphp-libraryyoutube

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/johncms-ckeditor-media-embed/health.svg)

```
[![Health](https://phpackages.com/badges/johncms-ckeditor-media-embed/health.svg)](https://phpackages.com/packages/johncms-ckeditor-media-embed)
```

###  Alternatives

[milon/barcode

Barcode generator like Qr Code, PDF417, C39, C39+, C39E, C39E+, C93, S25, S25+, I25, I25+, C128, C128A, C128B, C128C, 2-Digits UPC-Based Extention, 5-Digits UPC-Based Extention, EAN 8, EAN 13, UPC-A, UPC-E, MSI (Variation of Plessey code)

1.5k13.3M39](/packages/milon-barcode)[bkwld/croppa

Image thumbnail creation through specially formatted URLs for Laravel

510496.0k23](/packages/bkwld-croppa)[goat1000/svggraph

Generates SVG graphs

132849.6k3](/packages/goat1000-svggraph)[cohensive/embed

Media Embed (for Laravel or as a standalone).

120370.4k](/packages/cohensive-embed)[netresearch/rte-ckeditor-image

Image support in CKEditor for the TYPO3 ecosystem - by Netresearch

63991.3k4](/packages/netresearch-rte-ckeditor-image)[humanmade/tachyon-plugin

Rewrites WordPress image URLs to use Tachyon

87338.5k2](/packages/humanmade-tachyon-plugin)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
