PHPackages                             irazasyed/video-downloader - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. irazasyed/video-downloader

AbandonedArchivedLibrary[Utility &amp; Helpers](/categories/utility)

irazasyed/video-downloader
==========================

Video Downloader for Facebook

7492133[2 issues](https://github.com/irazasyed/video-downloader/issues)PHP

Since Oct 25Pushed 6y ago1 watchersCompare

[ Source](https://github.com/irazasyed/video-downloader)[ Packagist](https://packagist.org/packages/irazasyed/video-downloader)[ RSS](/packages/irazasyed-video-downloader/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Video Downloader
================

[](#video-downloader)

[![Join PHP Chat](https://camo.githubusercontent.com/29f67fb2289efd1ecede6eaa41c82be0e3f93dbf5a8193f1f0fc1b4f33719fa7/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f536c61636b2d504850253230436861742d3563366161612e7376673f7374796c653d666c61742d737175617265266c6f676f3d736c61636b266c6162656c436f6c6f723d344131353442)](https://phpchat.co/?ref=video-downloader)[![Chat on Telegram](https://camo.githubusercontent.com/c793b6d887d39dac6773fa734b19b63fb1b8a392156528c648c2564000509eba/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4050485043686174436f2d3243413545302e7376673f7374796c653d666c61742d737175617265266c6f676f3d74656c656772616d266c6162656c3d54656c656772616d)](https://t.me/PHPChatCo)[![Latest Version on Packagist](https://camo.githubusercontent.com/a8007181e47b641b1ff5aa9760e40e87a431adedac1c8b03feae22dc733c55f3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6972617a61737965642f766964656f2d646f776e6c6f616465722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/irazasyed/video-downloader)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Quality Score](https://camo.githubusercontent.com/ae974adafe49e90cddabb46c7eda5f3aca20cbc9823843ba692807cb3b9a3b4c/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6972617a61737965642f766964656f2d646f776e6c6f616465722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/irazasyed/video-downloader)[![Total Downloads](https://camo.githubusercontent.com/a2edf05cb15b5d6705ddf8175c11fb53f489666e1bcfb6d23adf48663c11652b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6972617a61737965642f766964656f2d646f776e6c6f616465722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/irazasyed/video-downloader)

> Video Downloader Package for Facebook. Automatically generates download links for HD and SD quality &amp; lets you download them. Comes with Laravel Support out of the Box!

Install
-------

[](#install)

Via Composer

```
$ composer require irazasyed/video-downloader
```

Usage
-----

[](#usage)

### getVideoInfo Method:

[](#getvideoinfo-method)

Get Video Info By **Video ID**:

```
$downloader = new Irazasyed\VideoDownloader\Factory('facebook');
$videoInfo = $downloader->getVideoInfo('10154015752566729');
```

Get Video Info By **URL**:

```
$videoUrl = 'https://www.facebook.com/facebook/videos/vl.515712155263726/10154015752566729/?type=1&theater';

$downloader->getVideoInfo($videoUrl);
```

Example Response:

```
$response = [
  "title" => "Facebook" // Video Title if exists, Page Title otherwise.
  "description" => "Is seeing the world on your mind?" // Video Caption
  "owner" => "Facebook" // Uploader Name
  "created_time" => "1441004460" // Unix Time
  "hd_link" => ""
  "sd_link" => ""
];
```

#### Supported URL Types (HTTP/HTTPS):

[](#supported-url-types-httphttps)

- [http://www.facebook.com/video.php?v=VIDEO\_ID](http://www.facebook.com/video.php?v=VIDEO_ID)
- [http://www.facebook.com/photo.php?v=VIDEO\_ID](http://www.facebook.com/photo.php?v=VIDEO_ID)
- [http://www.facebook.com/video/video.php?v=VIDEO\_ID](http://www.facebook.com/video/video.php?v=VIDEO_ID)
- [https://www.facebook.com/USER\_NAME/videos/USER\_ALBUM/VIDEO\_ID/?type=2&amp;theater](https://www.facebook.com/USER_NAME/videos/USER_ALBUM/VIDEO_ID/?type=2&theater)
- [https://www.facebook.com/USER\_NAME/videos/VIDEO\_ID/?pnref=story](https://www.facebook.com/USER_NAME/videos/VIDEO_ID/?pnref=story)

### Download Method:

[](#download-method)

```
$isAsyncRequest = true;
$downloader->download('Remote_File_URL', '/path/to/destination/filename.mp4', $isAsyncRequest);
```

Change log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) and [CONDUCT](CONDUCT.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Syed Irfaq R.](https://github.com/irazasyed)
- [All Contributors](../../contributors)

Disclaimer
----------

[](#disclaimer)

This project and its author is neither associated, nor affiliated with Facebook in anyway. Use of this project is at your own risk and subject to the license of this project. This is simply an experimental project. It is highly recommended to go through the [Automated Data Collection Terms](https://www.facebook.com/apps/site_scraping_tos_terms.php) of Facebook &amp; the License section of this project for more information.

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity30

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1915268?v=4)[Irfaq Syed](/maintainers/irazasyed)[@irazasyed](https://github.com/irazasyed)

---

Top Contributors

[![irazasyed](https://avatars.githubusercontent.com/u/1915268?v=4)](https://github.com/irazasyed "irazasyed (14 commits)")

---

Tags

composercomposer-packagesdownload-fb-videosdownloaderfacebookfacebook-videosfbfb-apifb-videofb-video-downloaderlaravellaravel-5-packagelaravel-packagelumenpackagephpvideo-downloader

### Embed Badge

![Health badge](/badges/irazasyed-video-downloader/health.svg)

```
[![Health](https://phpackages.com/badges/irazasyed-video-downloader/health.svg)](https://phpackages.com/packages/irazasyed-video-downloader)
```

###  Alternatives

[zoujingli/ip2region

ip2region v3.0 for PHP - 企业级 IP 地理位置查询库，支持 IPv4 和 IPv6，多种缓存策略，零依赖，开箱即用

1.4k462.5k65](/packages/zoujingli-ip2region)

PHPackages © 2026

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