PHPackages                             davodavodavo3/media - 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. davodavodavo3/media

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

davodavodavo3/media
===================

Embedding media content from popular providers.

5.4.x-dev(9y ago)018MITPHPPHP &gt;=5.3.0

Since Jun 3Pushed 9y ago1 watchersCompare

[ Source](https://github.com/davodavodavo3/media)[ Packagist](https://packagist.org/packages/davodavodavo3/media)[ RSS](/packages/davodavodavo3-media/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (1)Versions (2)Used By (0)

Media
=====

[](#media)

Generate media html (YouTube, Vimeo, Kickstarter etc.) based on the url.

Original Package:

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

[](#installation)

Add following require to your `composer.json` file:

For Laravel 5\*:

```
    "davodavodavo3/media": "dev-master"
    // or
    "davodavodavo3/media": "5.4.*@dev",

```

Then run `composer install` or `composer update` to download it and autoload.

Or simple run:

```
composer require "davodavodavo3/media":"5.4.*@dev"

```

Then in your config/app.php add

```
'providers' => array(

	//...
	Scorpion\LaravelMedia\MediaServiceProvider::class,
	//...

)

```

In aliases:

```
'aliases' => array(

	//...
	'Media' => Scorpion\LaravelMedia\Facades\Media::class,
	//...

)

```

Usage
-----

[](#usage)

```
$media = Media::make('http://youtu.be/uifYHNyH-jA')->parseUrl()
// Will return Media class if provider is found. Otherwie will return false - not found. No fancy errors for now.
if ($media) {
	// Set width of the media embed.
	$media->setAttribute(['width' => 600]);

	// Print html: ''.
	// Height will be set automatically based on provider width/height ratio.
	// Height could be set explicitly via setAttr() method.
	echo $media->getHtml();
}

```

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity44

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

Unknown

Total

1

Last Release

3313d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/10462563?v=4)[Davit B.](/maintainers/davodavodavo3)[@davodavodavo3](https://github.com/davodavodavo3)

---

Top Contributors

[![davodavodavo3](https://avatars.githubusercontent.com/u/10462563?v=4)](https://github.com/davodavodavo3 "davodavodavo3 (10 commits)")

---

Tags

youtubevimeosoundcloudcoub

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/davodavodavo3-media/health.svg)

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

###  Alternatives

[cohensive/embed

Media Embed (for Laravel or as a standalone).

117380.9k](/packages/cohensive-embed)[cohensive/oembed

Media embed generation using OEmbed protocol.

3673.8k](/packages/cohensive-oembed)[jonnitto/plyr

Plyr.io for Neos.io

1136.5k2](/packages/jonnitto-plyr)

PHPackages © 2026

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