PHPackages                             visionappscz/video-id-extractor - 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. visionappscz/video-id-extractor

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

visionappscz/video-id-extractor
===============================

Extract video ID from the link. Supports youtube, facebook, vimeo

v1.0.1(8y ago)05.6k1[1 issues](https://github.com/visionappscz/video-id-extractor/issues)MITPHPPHP &gt;=5.6.0

Since Dec 1Pushed 7y ago3 watchersCompare

[ Source](https://github.com/visionappscz/video-id-extractor)[ Packagist](https://packagist.org/packages/visionappscz/video-id-extractor)[ Docs](https://www.visionapps.cz)[ RSS](/packages/visionappscz-video-id-extractor/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (5)Used By (0)

Video ID Extractor
==================

[](#video-id-extractor)

[![Travis build status](https://camo.githubusercontent.com/4692048d188917a3f53d60283b338bbd4921754a4f2814d404b5363169c3178a/68747470733a2f2f7472617669732d63692e6f72672f766973696f6e61707073637a2f766964656f2d69642d657874726163746f722e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/visionappscz/video-id-extractor)

This library extracts video IDs from links to hosted videos.

The supported services are:

- [youtube](https://www.youtube.com)
- [facebook](https://www.facebook.com)
- [vimeo](https://www.vimeo.com)

Getting Started
---------------

[](#getting-started)

### Installing

[](#installing)

Install with composer

```
require visionappscz/video-id-extractor

```

### Usage example

[](#usage-example)

```
use VideoIdExtractor\Extractor\VideoIdExtractException;
use VideoIdExtractor\Extractor\YoutubeVideoIdExtractor;

...

$extractor = new YoutubeVideoIdExtractor();
try {
    $videoId = $extractor->extract('http://www.youtube.com/watch?v=uWhV5wSyxTI');
} catch (VideoIdExtractException $e) {
    die('The supplied link is not valid.)
}

```

###  Health Score

32

—

LowBetter than 71% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 54.5% 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 ~450 days

Total

2

Last Release

2996d ago

### Community

Maintainers

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

---

Top Contributors

[![fousjiri](https://avatars.githubusercontent.com/u/16101556?v=4)](https://github.com/fousjiri "fousjiri (6 commits)")[![mbohal](https://avatars.githubusercontent.com/u/4589176?v=4)](https://github.com/mbohal "mbohal (3 commits)")[![bedrich-schindler](https://avatars.githubusercontent.com/u/10213870?v=4)](https://github.com/bedrich-schindler "bedrich-schindler (2 commits)")

---

Tags

videoextractid

###  Code Quality

TestsCodeception

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/visionappscz-video-id-extractor/health.svg)

```
[![Health](https://phpackages.com/badges/visionappscz-video-id-extractor/health.svg)](https://phpackages.com/packages/visionappscz-video-id-extractor)
```

###  Alternatives

[php-ffmpeg/php-ffmpeg

FFMpeg PHP, an Object Oriented library to communicate with AVconv / ffmpeg

5.0k21.7M163](/packages/php-ffmpeg-php-ffmpeg)[danog/madelineproto

Async PHP client API for the telegram MTProto protocol.

3.4k855.0k18](/packages/danog-madelineproto)[league/color-extractor

Extract colors from an image as a human would do.

1.3k4.7M18](/packages/league-color-extractor)[vimeo/vimeo-api

Official PHP library for the Vimeo API.

4637.1M32](/packages/vimeo-vimeo-api)[vimeo/laravel

A Vimeo bridge for Laravel

4161.5M3](/packages/vimeo-laravel)[codescale/ffmpeg-php

PHP wrapper for FFmpeg application

495270.5k1](/packages/codescale-ffmpeg-php)

PHPackages © 2026

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