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

ActiveLibrary

sudippalash/media-input
=======================

Image upload from your device folder, URL &amp; Youtube video URL

1.0.6(1y ago)035MITBladePHP ^7.3|^8.0

Since Feb 19Pushed 1y ago1 watchersCompare

[ Source](https://github.com/sudippalash/media-input)[ Packagist](https://packagist.org/packages/sudippalash/media-input)[ RSS](/packages/sudippalash-media-input/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (6)Dependencies (1)Versions (9)Used By (0)

media-input
-----------

[](#media-input)

[![alt text](https://github.com/sudippalash/media-input/raw/master/img.jpg?raw=true)](https://github.com/sudippalash/media-input/blob/master/img.jpg?raw=true)

[![Latest Version on Packagist](https://camo.githubusercontent.com/cf99a2633c796b3610883c61819e9b09d9fbdf6be988464f732040725fe27578/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f737564697070616c6173682f6d656469612d696e7075743f7374796c653d666c61742d737175617265)](https://packagist.org/packages/sudippalash/media-input)[![Total Downloads](https://camo.githubusercontent.com/478b3a08092781ada818b8d054d5f01bcd32b45d68016bfc1631822276dd8f47/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f737564697070616c6173682f6d656469612d696e7075743f7374796c653d666c61742d737175617265)](https://packagist.org/packages/sudippalash/media-input)

This package provides a set of blade components

Install
-------

[](#install)

Via Composer

```
composer require sudippalash/media-input
```

You can publish the config file with:

```
php artisan vendor:publish --provider="Sudip\MediaInput\Providers\AppServiceProvider" --tag=config
```

You can publish the lang file with:

```
php artisan vendor:publish --provider="Sudip\MediaInput\Providers\AppServiceProvider" --tag=lang
```

You can publish blade files with:

```
php artisan vendor:publish --provider="Sudip\MediaInput\Providers\AppServiceProvider" --tag=views
```

In `config/media-input.php` config file you should set your data.

```
return [
    /*
    |--------------------------------------------------------------------------
    | Platform
    |--------------------------------------------------------------------------
    |
    | Which platform you use in your application. Example: bootstrap3 or bootstrap4 or bootstrap5 or default
    | Note: you should add bootstrap platform CSS and JS library. If you use default then no need to add bootstrap CSS and JS library
    |
    */

    'platform' => 'bootstrap3',

    /*
    |--------------------------------------------------------------------------
    | From URL
    |--------------------------------------------------------------------------
    |
    | If you want to upload image from url & embed youtube video url
    |
    */

    'image_from_url' => true,
    'video_from_url' => true,

    /*
    |--------------------------------------------------------------------------
    | Styles Default Stack
    |--------------------------------------------------------------------------
    |
    | Styles to push in appropriate stack (required)
    |
    */

    'styles_stack' => 'styles',

    /*
    |--------------------------------------------------------------------------
    | Scripts Default Stack
    |--------------------------------------------------------------------------
    |
    | Scripts to push in appropriate stack (required)
    |
    */

    'scripts_stack' => 'scripts',
];
```

Usage
-----

[](#usage)

```

```

or

```

```

Note
----

[](#note)

1. jquery library is required. If your project already added jquery then ignore it.

```

```

2. bootstrap css &amp; js is required as per your platform selection from config file. If your project already added jquery then ignore it or If you select default then no need to add bootstrap.
3. If you want to use the image sortable feature then you need to include sortable js in your code before the end body tag (Optional)

```

```

4. If you want to use the image preview feature then you need to include magnific-popup css in your code head tag and magnific-popup js in your code before the end body tag (Optional)

```

```

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance46

Moderate activity, may be stable

Popularity7

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 82.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 ~127 days

Recently: every ~191 days

Total

7

Last Release

416d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5e4dad3b25d885d7ee33085d1a82851871161020923a26ac2b2276e5950c201a?d=identicon)[sudippalash](/maintainers/sudippalash)

---

Top Contributors

[![sudippalash](https://avatars.githubusercontent.com/u/16589727?v=4)](https://github.com/sudippalash "sudippalash (19 commits)")[![ferdousanam](https://avatars.githubusercontent.com/u/40851904?v=4)](https://github.com/ferdousanam "ferdousanam (4 commits)")

---

Tags

Image uploadLaravel Image UploadMedia InputMedia Upload Like ShopifyImage Upload Like Shopify

### Embed Badge

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

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

###  Alternatives

[anourvalar/eloquent-serialize

Laravel Query Builder (Eloquent) serialization

11320.2M21](/packages/anourvalar-eloquent-serialize)[qcod/laravel-imageup

Auto Image upload, resize and crop for Laravel eloquent model using Intervention image

775113.8k](/packages/qcod-laravel-imageup)[statamic-rad-pack/runway

Eloquently manage your database models in Statamic.

135192.6k5](/packages/statamic-rad-pack-runway)

PHPackages © 2026

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