PHPackages                             latevaweb/laravel-tinymce-upload-media - 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. latevaweb/laravel-tinymce-upload-media

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

latevaweb/laravel-tinymce-upload-media
======================================

13[2 PRs](https://github.com/latevaweb/laravel-tinymce-upload-media/pulls)PHP

Since Jan 22Pushed 3y ago1 watchersCompare

[ Source](https://github.com/latevaweb/laravel-tinymce-upload-media)[ Packagist](https://packagist.org/packages/latevaweb/laravel-tinymce-upload-media)[ RSS](/packages/latevaweb-laravel-tinymce-upload-media/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (3)Used By (0)

Laravel TinyMCE Upload Media
============================

[](#laravel-tinymce-upload-media)

Upload media to Laravel from tinyMCE jQuery plugin

[![License: MIT](https://camo.githubusercontent.com/fdf2982b9f5d7489dcf44570e714e3a15fce6253e0cc6b5aa61a075aac2ff71b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d79656c6c6f772e737667)](https://opensource.org/licenses/MIT)[![Laravel 6.x](https://camo.githubusercontent.com/8333c1fae9a342ecc33e082cf504539043e98f24028a9df0513db89db6a82d1b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d362e782d6f72616e67652e737667)](http://laravel.com)

In the view that contain setup for TinyMCE, you need to include the upload view, add this line at the bottom,

`@include('tinymce::upload_form')`

This form is hidden from your view, no-one will see it because it is display: none.

Next step is to add this config to the tinymce object,

```
tinymce.init({
    // .. your config here
    relative_urls: false,
    file_browser_callback: function(field_name, url, type) {
        // trigger file upload form
        if (type == 'image') $('#formUpload input').click();
    }
});
```

Now you should be able to upload image directly to the editor while writing content.

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

[](#installation)

You can install the package via composer:

```
composer require latevaweb/laravel-tinymce-upload-media
```

If you want to change the hidden view to manage the upload:

```
php artisan vendor:publish --provider="LaTevaWeb\TinyMCE\TinyMCEServiceProvider" --tag=view
```

If you want to change the service that manages the file upload or any other configuration

```
php artisan vendor:publish --provider="LaTevaWeb\TinyMCE\TinyMCEServiceProvider" --tag=config
```

Example
-------

[](#example)

```
>

            tinymce.init({
                selector: 'textarea',
                relative_urls: false,
                file_browser_callback: function (field_name, url, type) {
                    // trigger file upload form
                    if (type == 'image') $('#formUpload input').click();
                },
                toolbar: [ "code" ],
                menubar: true,
                plugins: [
                    "image link code"
                ]
            });

        @include('tinymce::upload_form')

```

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

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.

### Community

Maintainers

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

---

Tags

laravelmediatinymceupload

### Embed Badge

![Health badge](/badges/latevaweb-laravel-tinymce-upload-media/health.svg)

```
[![Health](https://phpackages.com/badges/latevaweb-laravel-tinymce-upload-media/health.svg)](https://phpackages.com/packages/latevaweb-laravel-tinymce-upload-media)
```

###  Alternatives

[milon/barcode

Barcode generator like Qr Code, PDF417, C39, C39+, C39E, C39E+, C93, S25, S25+, I25, I25+, C128, C128A, C128B, C128C, 2-Digits UPC-Based Extention, 5-Digits UPC-Based Extention, EAN 8, EAN 13, UPC-A, UPC-E, MSI (Variation of Plessey code)

1.5k13.3M39](/packages/milon-barcode)[bkwld/croppa

Image thumbnail creation through specially formatted URLs for Laravel

510496.0k23](/packages/bkwld-croppa)[goat1000/svggraph

Generates SVG graphs

132849.6k3](/packages/goat1000-svggraph)[cohensive/embed

Media Embed (for Laravel or as a standalone).

120370.4k](/packages/cohensive-embed)[netresearch/rte-ckeditor-image

Image support in CKEditor for the TYPO3 ecosystem - by Netresearch

63991.3k4](/packages/netresearch-rte-ckeditor-image)[humanmade/tachyon-plugin

Rewrites WordPress image URLs to use Tachyon

87338.5k2](/packages/humanmade-tachyon-plugin)

PHPackages © 2026

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