tonning/media

This package is abandoned and no longer maintained. No replacement package was suggested.

Media Library

0.1.41 2015-07-23 19:04 UTC

This package is not auto-updated.

Last update: 2022-02-01 12:49:00 UTC


README

Installation

First, pull in the package through Composer.

"require": {
    "tonning/media": "~0.1"
}

And then, if using Laravel 5.1, include the service provider within app/config/app.php.

'providers' => [
    Tonning\Media\MediaServiceProvider::class,
    Intervention\Image\ImageServiceProvider::class,
];

And, for convenience, add a facade alias to this same file at the bottom:

'aliases' => [
    'Media'     => Tonning\Media\MediaFacade::class,
    'Image'     => Intervention\Image\Facades\Image::class
];

Publish config to config/media.php.

php artisan vendor:publish