PHPackages                             jeremy\_vk/php\_video\_embedder - 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. jeremy\_vk/php\_video\_embedder

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

jeremy\_vk/php\_video\_embedder
===============================

a librairy for embed videos from video platforms to your website, just with paste the video url

v0.0.4(1y ago)186MITPHPPHP ^8.1

Since May 25Pushed 1y ago1 watchersCompare

[ Source](https://github.com/JeremyVk/php_video_embedder)[ Packagist](https://packagist.org/packages/jeremy_vk/php_video_embedder)[ RSS](/packages/jeremy-vk-php-video-embedder/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)Dependencies (1)Versions (6)Used By (0)

Php video embedder
==================

[](#php-video-embedder)

This library simply return HTML embed code, just by passing the video url.

Requirements
------------

[](#requirements)

This library required php &gt;= 8.1 version

Getting started
---------------

[](#getting-started)

Just run

```
composer require jeremy_vk/php_video_embedder
```

How to use it
-------------

[](#how-to-use-it)

Simply instance the `EmbedMedia\Services\VideoEmbedder` class

```
$videoEmbedder = new EmbedMedia\Services\VideoEmbedder(new EmbedMedia\Services\VideoPlatformResolver());

```

Or use the dependency injection

```
public function __construct (private VideoEmbedder $videoEmbedder){}

```

Here is an example of how to use the VideoEmbedder to embed video

```
$videoURL = "https://www.youtube.com/watch?v=dQw4w9WgXcQ55";
$embedCode = $videoEmbedder->embedVideo($videoURL);
echo $embedCode;

```

Should return

```

```

Three platforms are configured:

- Tiktok
- Youtube
- Instagram

### If you want to contribute to this project, like add a new platform, you can open an issue to talk about it, or just open a pull request

[](#if-you-want-to-contribute-to-this-project-like-add-a-new-platform-you-can-open-an-issue-to-talk-about-it-or-just-open-a-pull-request)

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance32

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 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 ~0 days

Total

4

Last Release

712d ago

PHP version history (2 changes)v0.0.1PHP 8.3.6

v0.0.3PHP ^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/1bc8ab90dbabbd012b5be0477f9fb9d9406358d4f49beb4a7731990a91c71f0b?d=identicon)[JeremyVk](/maintainers/JeremyVk)

---

Top Contributors

[![JeremyVk](https://avatars.githubusercontent.com/u/66004588?v=4)](https://github.com/JeremyVk "JeremyVk (7 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/jeremy-vk-php-video-embedder/health.svg)

```
[![Health](https://phpackages.com/badges/jeremy-vk-php-video-embedder/health.svg)](https://phpackages.com/packages/jeremy-vk-php-video-embedder)
```

###  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.0k22](/packages/bkwld-croppa)[char0n/ffmpeg-php

PHP wrapper for FFmpeg application

495225.1k1](/packages/char0n-ffmpeg-php)[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)

PHPackages © 2026

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