PHP code example of tonning / media
1. Go to this page and download the library: Download tonning/media library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
tonning / media example snippets
'providers' => [
Tonning\Media\MediaServiceProvider::class,
Intervention\Image\ImageServiceProvider::class,
];
'aliases' => [
'Media' => Tonning\Media\MediaFacade::class,
'Image' => Intervention\Image\Facades\Image::class
];
php artisan vendor:publish