PHPackages                             sebastienheyd/boilerplate-media-manager - 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. [File &amp; Storage](/categories/file-storage)
4. /
5. sebastienheyd/boilerplate-media-manager

ActiveLibrary[File &amp; Storage](/categories/file-storage)

sebastienheyd/boilerplate-media-manager
=======================================

Media Manager for sebastienheyd/boilerplate

8.4.0(1mo ago)73.5k↑33.3%21MITPHPCI passing

Since Mar 7Pushed 1mo ago1 watchersCompare

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

READMEChangelog (10)Dependencies (11)Versions (58)Used By (1)

Laravel Media Manager for [sebastienheyd/boilerplate](https://github.com/sebastienheyd/boilerplate)
===================================================================================================

[](#laravel-media-manager-for-sebastienheydboilerplate)

[![Packagist](https://camo.githubusercontent.com/a3b609f97d6c9cc3de9f18a0b82ebf0cdb835d86b3a0f1d3ebb9704788f5a2f6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73656261737469656e686579642f626f696c6572706c6174652d6d656469612d6d616e616765722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/sebastienheyd/boilerplate-media-manager)[![StyleCI](https://camo.githubusercontent.com/dd3c19bab0807b2f6d9321e26d6e6091ba63971da2c1baea92d8b1319c25e9ae/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3137303438323439362f736869656c643f6272616e63683d6d6173746572)](https://github.styleci.io/repos/170482496)[![Laravel](https://camo.githubusercontent.com/783356112761c7b830f82db550ca59be7c616e4604fcbdf07de48fad960eeea3/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d362e7825323025453225383625393225323031332e782d677265656e3f6c6f676f3d4c61726176656c267374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/783356112761c7b830f82db550ca59be7c616e4604fcbdf07de48fad960eeea3/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d362e7825323025453225383625393225323031332e782d677265656e3f6c6f676f3d4c61726176656c267374796c653d666c61742d737175617265)[![Nb downloads](https://camo.githubusercontent.com/de207dc34db50dcfb01cf7ac5c322e57912d8043ede2553872853f19654d3b62/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f73656261737469656e686579642f626f696c6572706c6174652d6d656469612d6d616e616765722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/sebastienheyd/boilerplate-media-manager)[![MIT License](https://camo.githubusercontent.com/7e9e7d705fdb98c19237a44939af6b419112675a7d882bb0c61e1604189affcc/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f73656261737469656e686579642f626f696c6572706c6174652d6d656469612d6d616e616765722e7376673f7374796c653d666c61742d737175617265)](license.md)

This package adds a media management tool to [`sebastienheyd/boilerplate`](https://github.com/sebastienheyd/boilerplate)

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

[](#installation)

1. In order to install Laravel Boilerplate Media Manager run :

```
composer require sebastienheyd/boilerplate-media-manager

```

2. Run the migration to add permissions

```
php artisan migrate

```

3. Create the symbolic link from `public/storage` to `storage/app/public`

```
php artisan storage:link

```

**Optional**:

To publish configuration files, you can run:

```
php artisan vendor:publish --tag=boilerplate

```

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

[](#configuration)

After `vendor:publish`, you can find the configuration file `mediamanager.php` in the `app/config/boilerplate` folder

configurationdescriptionmediamanager.base\_urlRelative path to the public storage foldermediamanager.tinymce\_upload\_dirDirectory where TinyMCE will store his edited imagemediamanager.thumbs\_dirDirectory where to store dynamically generated thumbsmediamanager.authorized.sizeUpload max size in bytes, default is 2048mediamanager.authorized.mimesMime types by extension, see [Laravel documentation](https://laravel.com/docs/5.7/validation#rule-mimes)mediamanager.filetypesAssociative array to get file type by extensionmediamanager.iconsAssociative array to get icon class (Fontawesome) by file typemediamanager.filterArray of filtered files to hideBackend
-------

[](#backend)

### TinyMCE

[](#tinymce)

This media manager will be automatically used for images and files inclusion by the [TinyMCE Blade component](https://sebastienheyd.github.io/boilerplate/docs/8.x/components/tinymce.html) included with the [sebastienheyd/boilerplate](https://github.com/sebastienheyd/boilerplate) package.

### Image selector

[](#image-selector)

You can use the `` component to easily insert an image selector into your forms. This component allows you to use the media manager to select an image to use.

```

```

Parameters are :

namedescriptiondefaultnameInput name (required)""valueDefault input value""labelLabel of the input field""widthWidth of the selector300heightHeight of the selector200helpHelp text""group-classAdditional class to form-group""group-idForm-group ID""### File selector

[](#file-selector)

You can use the `` component to easily insert a file selector into your forms. This component allows you to use the media manager to select a file to assign to the input field.

```

```

Parameters are :

namedescriptiondefaultnameInput name (required)""valueInput value""labelLabel of the input field""typeMedia list filter (all, file, image, video)allhelpHelp text""group-classAdditional class to form-group""group-idForm-group ID""Frontend
--------

[](#frontend)

### Img (fit or resize)

[](#img-fit-or-resize)

`img` will dynamically resize an image and returns the URL using Intervention and Storage (public disk)

```
{!! img('/storage/my_picture.jpg', 100, 100, [], 'resize') !!}
```

will return

```

```

Or using the `@img` Blade directive :

```
@img('/storage/my_picture.jpg', 250, 150, ['class' => 'fluid-image'])
```

will return

```

```

You can already get only the url by using `img_url` helper function.

#### Clear cache

[](#clear-cache)

You can clear all resized image by using the artisan command `thumbs:clear`

```
php artisan thumbs:clear

```

Language
--------

[](#language)

You can translate or change translations by running `php artisan vendor:publish --tag=boilerplate-media-manager-lang`. After running this command, you will find translations folders into `resources/lang/vendor/boilerplate-media-manager`. Copy one of the language folders in the new language you want to create and all you have to do is to translate. If you want to share the language you have added, don't hesitate to make a pull request.

### Views

[](#views)

You can override views by running `php artisan vendor:publish --tag=boilerplate-media-manager-views`. You will then find the views in the `resources/views/vendor/boilerplate-media-manager` folder.

###  Health Score

55

—

FairBetter than 98% of packages

Maintenance90

Actively maintained with recent releases

Popularity28

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity74

Established project with proven stability

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

Recently: every ~10 days

Total

48

Last Release

51d ago

Major Versions

0.8.3 → 6.0.02019-10-16

5.8.x-dev → 6.1.02019-11-27

6.5.1 → 7.0.02019-12-28

6.0.x-dev → 7.0.22020-01-09

7.3.4 → 8.0.02025-05-24

### Community

Maintainers

![](https://www.gravatar.com/avatar/9734baf9cf5aaf3f2243aa8a57e23e59f95b70f0bb30c2628f9e88bc76dc3c1a?d=identicon)[sebastienheyd](/maintainers/sebastienheyd)

---

Top Contributors

[![sebastienheyd](https://avatars.githubusercontent.com/u/5470423?v=4)](https://github.com/sebastienheyd "sebastienheyd (171 commits)")

---

Tags

boilerplatelaravelpluginlaravelpackagelibraryfilemanagermediaboilerplate

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/sebastienheyd-boilerplate-media-manager/health.svg)

```
[![Health](https://phpackages.com/badges/sebastienheyd-boilerplate-media-manager/health.svg)](https://phpackages.com/packages/sebastienheyd-boilerplate-media-manager)
```

###  Alternatives

[unisharp/laravel-filemanager

A file upload/editor intended for use with Laravel 5 to 10 and CKEditor / TinyMCE

2.2k3.3M74](/packages/unisharp-laravel-filemanager)[erlandmuchasaj/laravel-file-uploader

A simple package to help you easily upload files to your laravel project.

128.7k](/packages/erlandmuchasaj-laravel-file-uploader)

PHPackages © 2026

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