carlonicora/minimalism-service-imgix

Imgix service for minimalism

4.0.1 2019-05-14 00:00 UTC

This package is auto-updated.

Last update: 2024-04-12 17:31:58 UTC


README

minimalism-service-imgix is a service for minimalism to generate imgix links.

Getting Started

To use this library, you need to have an application using minimalism. This library does not work outside this scope.

Prerequisite

You should have read the minimalism documentation and understand the concepts of services in the framework.

Installing

Require this package, with Composer, in the root directory of your project.

$ composer require carlonicora/minimalism-service-imgix

or simply add the requirement in composer.json

{
    "require": {
        "carlonicora/minimalism-service-imgix": "~1.0"
    }
}

Deployment

This service requires you to set up two parameters in your .env file in order to produce the imgix links.

Required parameters

#the domain used as CDN
MINIMALISM_SERVICE_IMGIX_DOMAIN=
#your private sign key  
MINIMALISM_SERVICE_IMGIX_KEY= 

Optional parameters

#default to 520
MINIMALISM_SERVICE_IMGIX_DEFAULT_IMAGE_HEIGTH=
MINIMALISM_SERVICE_IMGIX_DEFAULT_IMAGE_WIDTH=

Build With

Versioning

This project use Semantiv Versioning for its tags.

Authors

License

This project is licensed under the MIT license - see the LICENSE.md file for details

License: MIT