michaelberry/mbimage

This is an image service, designed to ingest images and prepare them for use on the site.

v1.0.0 2020-12-02 03:12 UTC

This package is auto-updated.

Last update: 2024-04-29 04:48:03 UTC


README

This is an image service, designed to ingest images and prepare them for use on the site.

Installation

You can install this package via composer using:

composer require michaelberry/mbimage

The package will automatically register itself.

To publish the config file and view file run:

php artisan vendor:publish --provider="MichaelBerry\MBImage\MBImageServiceProvider"

This will publish a file mbimage.php in your config directory with the following contents:

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
];