PHPackages                             mohammadsalmani28/video - 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. mohammadsalmani28/video

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

mohammadsalmani28/video
=======================

Video package is a package for generating online video services like youtube, aparat etc!

v1.0.0(6y ago)212MITPHP

Since Jan 15Pushed 6y ago1 watchersCompare

[ Source](https://github.com/mohammadsalmani28/video)[ Packagist](https://packagist.org/packages/mohammadsalmani28/video)[ Docs](https://github.com/mohammadsalmani28/video)[ RSS](/packages/mohammadsalmani28-video/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (1)DependenciesVersions (3)Used By (0)

Video Generator
===============

[](#video-generator)

Video Generator is a package for laravel. This package created for generate embed code in your project. thanks for using my package!

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

[](#installation)

### Step 1

[](#step-1)

Run following command in root directory of your project:

```
composer require mohammadsalmani28/video
```

### Step 2 : Add Provider

[](#step-2--add-provider)

Now you have to add this line in 'app.php' located in 'config' directory of your laravel project in the providers array:

```
Mohammadsalmani28\Video\VideoServiceProvider::class,
```

Done :)

### Usage:

[](#usage)

This package should be used in your view files.

CodeDescription`@video('service_name', 'video_url')`Generate and return embed codeExamples:

```
@video('aparat', 'https://www.aparat.com/v/8vam2')
```

```
@video('youtube', 'https://www.youtube.com/watch?v=ImtZ5yENzgE')
```

```
@video('tamasha', 'https://tamasha.com/v/0keJL')
```

```
@video('namasha', 'https://www.namasha.com/v/vEePZkl5')
```

```
@video('vimeo', 'https://vimeo.com/151390908')
```

License
-------

[](#license)

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

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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

Total

2

Last Release

2308d ago

Major Versions

v0.0.1 → v1.0.02020-01-17

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/20731054?v=4)[Mohammad Salmani Mahini](/maintainers/mohammadsalmani28)[@mohammadsalmani28](https://github.com/mohammadsalmani28)

---

Top Contributors

[![mohammadsalmani28](https://avatars.githubusercontent.com/u/20731054?v=4)](https://github.com/mohammadsalmani28 "mohammadsalmani28 (19 commits)")

---

Tags

phplaravelpackagevideoyoutubeaparatnamashatamasha

### Embed Badge

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

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

###  Alternatives

[chojnicki/video-platforms-parser

Easy to use SDK with grabber for multiple platforms at once like YouTube, Dailymotion, Facebook and more.

22226.4k](/packages/chojnicki-video-platforms-parser)[aminyazdanpanah/php-shaka

Shaka PHP is a library that uses Shaka Packager for DASH and HLS packaging and encryption, supporting Common Encryption for Widevine and other DRM Systems.

939.0k1](/packages/aminyazdanpanah-php-shaka)[tomatophp/filament-media-manager

Manage your media files using spatie media library with easy to use GUI for FilamentPHP

14543.9k3](/packages/tomatophp-filament-media-manager)[nikkanetiya/laravel-color-palette

Laravel Wrapper for `ksubileau/color-thief-php`. Grabs the dominant color or a representative color palette from an image. Uses PHP and GD or Imagick.

3312.6k](/packages/nikkanetiya-laravel-color-palette)

PHPackages © 2026

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