2017 © Pedro Peláez
 

library lumen-image-manager

Image manager module for the Lumen framework.

image

nordsoftware/lumen-image-manager

Image manager module for the Lumen framework.

  • Friday, March 16, 2018
  • by crisu83
  • Repository
  • 18 Watchers
  • 24 Stars
  • 450 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 1 Open issues
  • 17 Versions
  • 13 % Grown

The README.md

lumen-image-manager

Latest Stable Version Total Downloads License, (*1)

Image manager for the Lumen PHP framework., (*2)

Please note that this module is still under active development., (*3)

Requirements

Usage

Installation

Run the following command to install the package through Composer:, (*4)

composer require nordsoftware/lumen-image-manager

Bootstrapping

Please note that we only support Cloudinary for now., (*5)

Add the following lines to bootstrap/app.php:, (*6)

$app->register('Nord\Lumen\Cloudinary\CloudinaryServiceProvider');
$app->register('Nord\Lumen\ImageManager\ImageManagerServiceProvider');

You can now use the ImageManager facade or inject the Nord\Lumen\ImageManager\Contracts\ImageManager where needed., (*7)

Example

Below is an example of how to use this module to save an image from the request and return a JSON response with the saved image's ID and URLs., (*8)

public function uploadImage(Request $request, FileManager $fileManager, ImageManager $imageManager)
{
    // Save the image directly to Cloudinary
    $file = $fileManager->saveFile($request->file('upload'), ['disk' => 'cloudinary']);

    return Response::json([
        'id'  => $file->getId(),
        'url' => $imageManager->getImageUrl($file, ['transformation' => 'small'])
    ]);
}

Contributing

Please note the following guidelines before submitting pull requests:, (*9)

License

See LICENSE., (*10)

The Versions

16/03 2018

dev-develop

dev-develop

Image manager module for the Lumen framework.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel lumen image manager cloudinary

03/03 2016

dev-master

9999999-dev

Image manager module for the Lumen framework.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel lumen image manager cloudinary

03/03 2016

1.1.0

1.1.0.0

Image manager module for the Lumen framework.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel lumen image manager cloudinary

07/12 2015

1.0.0

1.0.0.0

Image manager module for the Lumen framework.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel lumen image manager cloudinary

04/12 2015

1.0.1

1.0.1.0

Image manager module for the Lumen framework.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel lumen image manager cloudinary

25/08 2015

0.5.1

0.5.1.0

Image manager module for the Lumen framework.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel lumen image manager cloudinary

09/07 2015

0.5.0

0.5.0.0

Image manager module for the Lumen framework.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel lumen image manager cloudinary

07/07 2015

0.4.3

0.4.3.0

Image manager module for the Lumen framework.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel lumen image manager cloudinary

07/07 2015

0.4.2

0.4.2.0

Image manager module for the Lumen framework.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel lumen image manager cloudinary

07/07 2015

0.4.1

0.4.1.0

Image manager module for the Lumen framework.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel lumen image manager cloudinary

07/07 2015

0.4.0

0.4.0.0

Image manager module for the Lumen framework.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel lumen image manager cloudinary

06/07 2015

0.3.1

0.3.1.0

Image manager module for the Lumen framework.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel lumen image manager cloudinary

06/07 2015

0.3.0

0.3.0.0

Image manager module for the Lumen framework.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel lumen image manager cloudinary

05/07 2015

0.2.2

0.2.2.0

Image manager module for the Lumen framework.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel lumen image manager cloudinary

05/07 2015

0.2.1

0.2.1.0

Image manager module for the Lumen framework.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel lumen image manager cloudinary

05/07 2015

0.2.0

0.2.0.0

Image manager module for the Lumen framework.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel lumen image manager cloudinary

05/07 2015

0.1.0

0.1.0.0

Image manager module for the Lumen framework.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel lumen image manager cloudinary