carlonicora / minimalism-service-imgix
Imgix service for minimalism
Requires
- php: >=8.1
- carlonicora/minimalism: ~13.0
- imgix/imgix-php: ~3.3
Requires (Dev)
- phpunit/phpunit: ^9
This package is auto-updated.
Last update: 2024-12-12 19:02:53 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
- minimalism - minimal modular PHP MVC framework
- imgix-php
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