PHPackages                             allcaretravel/laravel-videoable - 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. allcaretravel/laravel-videoable

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

allcaretravel/laravel-videoable
===============================

This is a fork from nwidart/laravel-videoable and enhanced. Attach videos to your models

4.0.1(4y ago)0271MITPHPPHP ^7.4.0||^8.0.0

Since Mar 13Pushed 4y agoCompare

[ Source](https://github.com/allcaretravel/laravel-videoable)[ Packagist](https://packagist.org/packages/allcaretravel/laravel-videoable)[ Docs](https://github.com/nwidart/laravel-videoable)[ RSS](/packages/allcaretravel-laravel-videoable/feed)WikiDiscussions master Synced 1mo ago

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

laravel-videoable
=================

[](#laravel-videoable)

[![Latest Version on Packagist](https://camo.githubusercontent.com/84a0a08d41357352ec2b7e913e9780b004b2dbb14fc78b88cb0382a131512e8e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e7769646172742f6c61726176656c2d766964656f61626c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/nwidart/laravel-videoable)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/19b3c6179944dc724afe05db3233063a286a7a26d2b76c310d074fcc31abfcbc/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6e5769646172742f6c61726176656c2d766964656f61626c65732f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/nWidart/laravel-videoable)[![Scrutinizer Coverage](https://camo.githubusercontent.com/941664e0238be94c2db3de25ae3f9d003c3a55de311f38f1a40b9154d7e622c0/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f6e5769646172742f6c61726176656c2d766964656f61626c652e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/nWidart/laravel-videoable/?branch=master)[![Quality Score](https://camo.githubusercontent.com/64ae3f3337625ad636ed41f12fdd8e661d917088b76fee422dc88dbf2ce5fa45/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6e5769646172742f6c61726176656c2d766964656f61626c652e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/nWidart/laravel-videoable)[![Total Downloads](https://camo.githubusercontent.com/4709f6f4fdbadbc2299710fe4eba889b5686cb9698570bb5a1f5de03eaae89cd/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6e7769646172742f6c61726176656c2d766964656f61626c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/nwidart/laravel-videoable)

**Laravel****laravel-videoable**&lt;= 5.4^1.05.5^2.05.7^3.0&gt;= 7^4.0**Laravel Videoable** is a quick and easy way to add a video to your Eloquent Models. It also features a way to generate the embed code directly.

```
$product = Product::create(['product_name' => 'something']);

$product->addVideo([
   'source' => 'youtube',
   'code' => '123',
   'title' => 'my video',
   'width' => 50,
   'height' => 150,
]);

// Get the embeddable code
$product->video->getEmbed();

// Returns

```

Install
-------

[](#install)

Via Composer

```
$ composer require nwidart/laravel-videoable
```

Next add the following service provider in `config/app.php`.

```
'providers' => [
  Nwidart\LaravelVideoable\LaravelVideoableServiceProvider::class,
],
```

Publish the package's migrations files by running :

```
php artisan vendor:publish --provider="Nwidart\LaravelVideoable\LaravelVideoableServiceProvider" --tag=migrations
```

After the migrations have been published you can create the `laravel_videoables` table by running the migrations

```
php artisan migrate
```

(optional) Publish the package's configuration file by running :

```
php artisan vendor:publish --provider="Nwidart\LaravelVideoable\LaravelVideoableServiceProvider" --tag=config
```

(optional) Publish the package's view files by running :

```
php artisan vendor:publish --provider="Nwidart\LaravelVideoable\LaravelVideoableServiceProvider" --tag=views
```

Configuration
-------------

[](#configuration)

You can configure model and table from configuration file `laravel-videoable`

```
return [
   //...
    'table' => 'videos',
    'model' => \Nwidart\LaravelVideoable\Models\Video::class
  //...
];
```

Documentation
-------------

[](#documentation)

You'll find installation instructions and full documentation on .

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

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information on 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)

- [Nicolas Widart](https://github.com/nwidart)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity73

Established project with proven stability

 Bus Factor1

Top contributor holds 88.6% 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 ~255 days

Recently: every ~339 days

Total

7

Last Release

1815d ago

Major Versions

1.0.x-dev → 2.0.02017-09-04

2.0.x-dev → 3.0.02018-10-01

3.0.0 → 4.0.02018-10-01

PHP version history (3 changes)1.0.0PHP ~5.6|~7.0

2.0.0PHP &gt;=7.0

4.0.1PHP ^7.4.0||^8.0.0

### Community

Maintainers

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

---

Top Contributors

[![nWidart](https://avatars.githubusercontent.com/u/882397?v=4)](https://github.com/nWidart "nWidart (39 commits)")[![semsphy](https://avatars.githubusercontent.com/u/423396?v=4)](https://github.com/semsphy "semsphy (4 commits)")[![JulienTant](https://avatars.githubusercontent.com/u/785518?v=4)](https://github.com/JulienTant "JulienTant (1 commits)")

---

Tags

laravelvideoyoutubevimeolaravel-videoable

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/allcaretravel-laravel-videoable/health.svg)

```
[![Health](https://phpackages.com/badges/allcaretravel-laravel-videoable/health.svg)](https://phpackages.com/packages/allcaretravel-laravel-videoable)
```

###  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)[cohensive/oembed

Media embed generation using OEmbed protocol.

3567.1k](/packages/cohensive-oembed)

PHPackages © 2026

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