PHP code example of michaelberry / mbimage
1. Go to this page and download the library: Download michaelberry/mbimage 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/ */
michaelberry / mbimage example snippets
return [
'type' => 'S3', // if you want the image to be uploaded to Amazon S3, leave blank if you want it to be in your local public folder
'path' => 'mbuploads' // path directory
];
bash
php artisan vendor:publish --provider="MichaelBerry\MBImage\MBImageServiceProvider"