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. [Image &amp; Media](/categories/media)
4. /
5. sudippalash/media-input

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

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 2d 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 66% of packages

Maintenance42

Moderate activity, may be stable

Popularity7

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity56

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

467d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/16589727?v=4)[Sudip Palash](/maintainers/sudippalash)[@sudippalash](https://github.com/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

[statamic-rad-pack/runway

Eloquently manage your database models in Statamic.

135224.7k7](/packages/statamic-rad-pack-runway)[api-platform/laravel

API Platform support for Laravel

58171.6k14](/packages/api-platform-laravel)[ecotone/laravel

Ecotone for Laravel — CQRS, Event Sourcing, Sagas, Durable Workflows, and Outbox on top of Laravel Queue, via PHP attributes.

21318.6k3](/packages/ecotone-laravel)[duncanmcclean/statamic-cargo

Comprehensive e-commerce addon for Statamic. Build bespoke e-commerce sites without the complexity.

3417.0k](/packages/duncanmcclean-statamic-cargo)[justbetter/statamic-image-optimize

Image optimization after upload

1319.4k](/packages/justbetter-statamic-image-optimize)

PHPackages © 2026

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