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(2y ago)186MITPHPPHP ^8.1

Since May 25Pushed 2y 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 yesterday

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

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

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

767d ago

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

v0.0.3PHP ^8.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/66004588?v=4)[JeremyVk](/maintainers/JeremyVk)[@JeremyVk](https://github.com/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

[goat1000/svggraph

Generates SVG graphs

135911.1k3](/packages/goat1000-svggraph)[gravatarphp/gravatar

Gravatar URL builder which is most commonly called as a Gravatar library

16653.6k2](/packages/gravatarphp-gravatar)[rsoury/wp-imgix

Rewrites WordPress image URLs to use ImgIX

167.2k](/packages/rsoury-wp-imgix)

PHPackages © 2026

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