From 1bb9aa9f43f56de8e29f3798cf4c13127adda1f2 Mon Sep 17 00:00:00 2001 From: Sadok Date: Tue, 3 Jan 2017 23:03:16 +0100 Subject: [PATCH] Update Readme + composer --- README.md | 6 ++- composer.lock | 131 +++++++++++++++++++++++++------------------------- 2 files changed, 70 insertions(+), 67 deletions(-) diff --git a/README.md b/README.md index 3943005f..046eb30f 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Flyimg -[![Build Status](https://travis-ci.org/sadok-f/fly-image.svg?branch=master)](https://travis-ci.org/sadok-f/fly-image) +[![Build Status](https://travis-ci.org/sadok-f/flyimg.svg?branch=master)](https://travis-ci.org/sadok-f/fly-image) [![Code Climate](https://codeclimate.com/github/sadok-f/fly-image/badges/gpa.svg)](https://codeclimate.com/github/sadok-f/fly-image) [![Issue Count](https://codeclimate.com/github/sadok-f/fly-image/badges/issue_count.svg)](https://codeclimate.com/github/sadok-f/fly-image) [![Test Coverage](https://codeclimate.com/github/sadok-f/fly-image/badges/coverage.svg)](https://codeclimate.com/github/sadok-f/fly-image/coverage) @@ -134,6 +134,7 @@ By default; width, height, or both will **not scale up** an image that is smalle ### gravity `string` **default: Center** : When crop is applied, changing the gravity will define which part of the image is kept inside the crop area. The basic options are: `NorthWest`, `North`, `NorthEast`, `West`, `Center`, `East`, `SouthWest`, `South`, `SouthEast`. + ```sh [...] -gravity NorthWest ... @@ -141,6 +142,7 @@ The basic options are: `NorthWest`, `North`, `NorthEast`, `West`, `Center`, `Eas ### background `color` (multiple formats) **default: white** : Sets the background of the canvas for the cases where padding is added to the images. It suports hex, css color names, rgb. Only css color names are supported without quotation marks. + ```sh [...] -background red ... [...] -background "#ff4455" ... @@ -155,12 +157,14 @@ The basic options are: `NorthWest`, `North`, `NorthEast`, `West`, `Center`, `Eas ### unsharp `radiusxsigma{+gain}{+threshold}` **default: null** : Sharpens an image with a convolved Gausian operator. A good example `0.25x0.25+8+0.065`. + ```sh [...] -unsharp 0.25x0.25+8+0.065 ... ``` ### filter `string` **default: Lanczos** : Resizing algorithm, Triangle is a smoother lighter option + ```sh [...] -filter Triangle ``` diff --git a/composer.lock b/composer.lock index fe3fa425..8e346aac 100644 --- a/composer.lock +++ b/composer.lock @@ -4,21 +4,20 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "This file is @generated automatically" ], - "hash": "5dcddfe6948d03ae1fbecb6e9ecedf8e", - "content-hash": "939473762f0f79b15b4b6dc97896f8ee", + "content-hash": "d7a8a7c39871f8efec4f2d3c240ef58d", "packages": [ { "name": "aws/aws-sdk-php", - "version": "3.20.11", + "version": "3.20.12", "source": { "type": "git", "url": "https://github.com/aws/aws-sdk-php.git", - "reference": "39d122b903813da2f53312fd3146acaa83a6d9f6" + "reference": "8725e67cb77b057b55596b4468ce9a1a95c5fe96" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/39d122b903813da2f53312fd3146acaa83a6d9f6", - "reference": "39d122b903813da2f53312fd3146acaa83a6d9f6", + "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/8725e67cb77b057b55596b4468ce9a1a95c5fe96", + "reference": "8725e67cb77b057b55596b4468ce9a1a95c5fe96", "shasum": "" }, "require": { @@ -85,7 +84,7 @@ "s3", "sdk" ], - "time": "2016-12-22 20:47:16" + "time": "2016-12-30T00:41:36+00:00" }, { "name": "doctrine/instantiator", @@ -139,7 +138,7 @@ "constructor", "instantiate" ], - "time": "2015-06-14 21:17:01" + "time": "2015-06-14T21:17:01+00:00" }, { "name": "guzzlehttp/guzzle", @@ -201,7 +200,7 @@ "rest", "web service" ], - "time": "2016-10-08 15:01:37" + "time": "2016-10-08T15:01:37+00:00" }, { "name": "guzzlehttp/promises", @@ -252,7 +251,7 @@ "keywords": [ "promise" ], - "time": "2016-12-20 10:07:11" + "time": "2016-12-20T10:07:11+00:00" }, { "name": "guzzlehttp/psr7", @@ -310,7 +309,7 @@ "stream", "uri" ], - "time": "2016-06-24 23:00:38" + "time": "2016-06-24T23:00:38+00:00" }, { "name": "league/flysystem", @@ -393,7 +392,7 @@ "sftp", "storage" ], - "time": "2016-10-19 20:38:46" + "time": "2016-10-19T20:38:46+00:00" }, { "name": "league/flysystem-aws-s3-v3", @@ -440,7 +439,7 @@ } ], "description": "Flysystem adapter for the AWS S3 SDK v3.x", - "time": "2016-06-21 21:34:35" + "time": "2016-06-21T21:34:35+00:00" }, { "name": "league/flysystem-cached-adapter", @@ -488,7 +487,7 @@ } ], "description": "An adapter decorator to enable meta-data caching.", - "time": "2016-11-20 21:02:42" + "time": "2016-11-20T21:02:42+00:00" }, { "name": "monolog/monolog", @@ -566,7 +565,7 @@ "logging", "psr-3" ], - "time": "2016-11-26 00:15:39" + "time": "2016-11-26T00:15:39+00:00" }, { "name": "mtdowling/jmespath.php", @@ -621,7 +620,7 @@ "json", "jsonpath" ], - "time": "2016-12-03 22:08:25" + "time": "2016-12-03T22:08:25+00:00" }, { "name": "myclabs/deep-copy", @@ -663,7 +662,7 @@ "object", "object graph" ], - "time": "2016-10-31 17:19:45" + "time": "2016-10-31T17:19:45+00:00" }, { "name": "phpdocumentor/reflection-common", @@ -717,7 +716,7 @@ "reflection", "static analysis" ], - "time": "2015-12-27 11:43:31" + "time": "2015-12-27T11:43:31+00:00" }, { "name": "phpdocumentor/reflection-docblock", @@ -762,7 +761,7 @@ } ], "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.", - "time": "2016-09-30 07:12:33" + "time": "2016-09-30T07:12:33+00:00" }, { "name": "phpdocumentor/type-resolver", @@ -809,7 +808,7 @@ "email": "me@mikevanriel.com" } ], - "time": "2016-11-25 06:54:22" + "time": "2016-11-25T06:54:22+00:00" }, { "name": "phpspec/prophecy", @@ -872,7 +871,7 @@ "spy", "stub" ], - "time": "2016-11-21 14:58:47" + "time": "2016-11-21T14:58:47+00:00" }, { "name": "phpunit/php-code-coverage", @@ -935,7 +934,7 @@ "testing", "xunit" ], - "time": "2016-05-27 16:24:29" + "time": "2016-05-27T16:24:29+00:00" }, { "name": "phpunit/php-file-iterator", @@ -982,7 +981,7 @@ "filesystem", "iterator" ], - "time": "2016-10-03 07:40:28" + "time": "2016-10-03T07:40:28+00:00" }, { "name": "phpunit/php-text-template", @@ -1023,7 +1022,7 @@ "keywords": [ "template" ], - "time": "2015-06-21 13:50:34" + "time": "2015-06-21T13:50:34+00:00" }, { "name": "phpunit/php-timer", @@ -1067,7 +1066,7 @@ "keywords": [ "timer" ], - "time": "2016-05-12 18:03:57" + "time": "2016-05-12T18:03:57+00:00" }, { "name": "phpunit/php-token-stream", @@ -1116,7 +1115,7 @@ "keywords": [ "tokenizer" ], - "time": "2016-11-15 14:06:22" + "time": "2016-11-15T14:06:22+00:00" }, { "name": "phpunit/phpunit", @@ -1191,7 +1190,7 @@ "testing", "xunit" ], - "time": "2016-06-03 09:42:56" + "time": "2016-06-03T09:42:56+00:00" }, { "name": "phpunit/phpunit-mock-objects", @@ -1247,7 +1246,7 @@ "mock", "xunit" ], - "time": "2016-04-20 14:39:26" + "time": "2016-04-20T14:39:26+00:00" }, { "name": "pimple/pimple", @@ -1293,7 +1292,7 @@ "container", "dependency injection" ], - "time": "2013-11-22 08:30:29" + "time": "2013-11-22T08:30:29+00:00" }, { "name": "predis/predis", @@ -1343,7 +1342,7 @@ "predis", "redis" ], - "time": "2016-06-16 16:22:20" + "time": "2016-06-16T16:22:20+00:00" }, { "name": "psr/cache", @@ -1389,7 +1388,7 @@ "psr", "psr-6" ], - "time": "2016-08-06 20:24:11" + "time": "2016-08-06T20:24:11+00:00" }, { "name": "psr/http-message", @@ -1439,7 +1438,7 @@ "request", "response" ], - "time": "2016-08-06 14:39:51" + "time": "2016-08-06T14:39:51+00:00" }, { "name": "psr/log", @@ -1486,7 +1485,7 @@ "psr", "psr-3" ], - "time": "2016-10-10 12:19:37" + "time": "2016-10-10T12:19:37+00:00" }, { "name": "sebastian/code-unit-reverse-lookup", @@ -1531,7 +1530,7 @@ ], "description": "Looks up which function or method a line of code belongs to", "homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/", - "time": "2016-02-13 06:45:14" + "time": "2016-02-13T06:45:14+00:00" }, { "name": "sebastian/comparator", @@ -1595,7 +1594,7 @@ "compare", "equality" ], - "time": "2016-11-19 09:18:40" + "time": "2016-11-19T09:18:40+00:00" }, { "name": "sebastian/diff", @@ -1647,7 +1646,7 @@ "keywords": [ "diff" ], - "time": "2015-12-08 07:14:41" + "time": "2015-12-08T07:14:41+00:00" }, { "name": "sebastian/environment", @@ -1697,7 +1696,7 @@ "environment", "hhvm" ], - "time": "2016-08-18 05:49:44" + "time": "2016-08-18T05:49:44+00:00" }, { "name": "sebastian/exporter", @@ -1764,7 +1763,7 @@ "export", "exporter" ], - "time": "2016-06-17 09:04:28" + "time": "2016-06-17T09:04:28+00:00" }, { "name": "sebastian/global-state", @@ -1815,7 +1814,7 @@ "keywords": [ "global state" ], - "time": "2015-10-12 03:26:01" + "time": "2015-10-12T03:26:01+00:00" }, { "name": "sebastian/object-enumerator", @@ -1861,7 +1860,7 @@ ], "description": "Traverses array structures and object graphs to enumerate all referenced objects", "homepage": "https://github.com/sebastianbergmann/object-enumerator/", - "time": "2016-01-28 13:25:10" + "time": "2016-01-28T13:25:10+00:00" }, { "name": "sebastian/recursion-context", @@ -1914,7 +1913,7 @@ ], "description": "Provides functionality to recursively process PHP variables", "homepage": "http://www.github.com/sebastianbergmann/recursion-context", - "time": "2015-11-11 19:50:13" + "time": "2015-11-11T19:50:13+00:00" }, { "name": "sebastian/resource-operations", @@ -1956,7 +1955,7 @@ ], "description": "Provides a list of PHP built-in functions that operate on resources", "homepage": "https://www.github.com/sebastianbergmann/resource-operations", - "time": "2015-07-28 20:34:47" + "time": "2015-07-28T20:34:47+00:00" }, { "name": "sebastian/version", @@ -1999,7 +1998,7 @@ ], "description": "Library that helps with managing the version number of Git-hosted PHP projects", "homepage": "https://github.com/sebastianbergmann/version", - "time": "2016-10-03 07:35:21" + "time": "2016-10-03T07:35:21+00:00" }, { "name": "silex/silex", @@ -2076,7 +2075,7 @@ "keywords": [ "microframework" ], - "time": "2016-01-06 14:59:35" + "time": "2016-01-06T14:59:35+00:00" }, { "name": "symfony/config", @@ -2132,7 +2131,7 @@ ], "description": "Symfony Config Component", "homepage": "https://symfony.com", - "time": "2016-12-09 07:45:17" + "time": "2016-12-09T07:45:17+00:00" }, { "name": "symfony/debug", @@ -2189,7 +2188,7 @@ ], "description": "Symfony Debug Component", "homepage": "https://symfony.com", - "time": "2016-11-16 22:18:16" + "time": "2016-11-16T22:18:16+00:00" }, { "name": "symfony/event-dispatcher", @@ -2249,7 +2248,7 @@ ], "description": "Symfony EventDispatcher Component", "homepage": "https://symfony.com", - "time": "2016-07-19 10:44:15" + "time": "2016-07-19T10:44:15+00:00" }, { "name": "symfony/filesystem", @@ -2298,7 +2297,7 @@ ], "description": "Symfony Filesystem Component", "homepage": "https://symfony.com", - "time": "2016-11-24 00:46:43" + "time": "2016-11-24T00:46:43+00:00" }, { "name": "symfony/http-foundation", @@ -2351,7 +2350,7 @@ ], "description": "Symfony HttpFoundation Component", "homepage": "https://symfony.com", - "time": "2016-07-17 13:54:30" + "time": "2016-07-17T13:54:30+00:00" }, { "name": "symfony/http-kernel", @@ -2433,7 +2432,7 @@ ], "description": "Symfony HttpKernel Component", "homepage": "https://symfony.com", - "time": "2016-07-30 09:10:37" + "time": "2016-07-30T09:10:37+00:00" }, { "name": "symfony/polyfill-mbstring", @@ -2492,7 +2491,7 @@ "portable", "shim" ], - "time": "2016-11-14 01:06:16" + "time": "2016-11-14T01:06:16+00:00" }, { "name": "symfony/routing", @@ -2567,7 +2566,7 @@ "uri", "url" ], - "time": "2016-06-29 05:40:00" + "time": "2016-06-29T05:40:00+00:00" }, { "name": "symfony/yaml", @@ -2622,7 +2621,7 @@ ], "description": "Symfony Yaml Component", "homepage": "https://symfony.com", - "time": "2016-12-10 10:07:06" + "time": "2016-12-10T10:07:06+00:00" }, { "name": "webmozart/assert", @@ -2672,7 +2671,7 @@ "check", "validate" ], - "time": "2016-11-23 20:04:58" + "time": "2016-11-23T20:04:58+00:00" }, { "name": "wyrihaximus/pimple-flysystem-service", @@ -2723,7 +2722,7 @@ "pimple", "service" ], - "time": "2016-05-23 20:12:56" + "time": "2016-05-23T20:12:56+00:00" }, { "name": "wyrihaximus/sli-fly", @@ -2773,7 +2772,7 @@ "service-provider", "silex" ], - "time": "2016-05-23 20:21:15" + "time": "2016-05-23T20:21:15+00:00" } ], "packages-dev": [ @@ -2783,12 +2782,12 @@ "source": { "type": "git", "url": "https://github.com/codeclimate/php-test-reporter.git", - "reference": "0186c8eb03c677b64b9d23dc0cb5c9475553c7c5" + "reference": "0edc2e1b8ca47b74c326c925a6a0f083126a152d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/codeclimate/php-test-reporter/zipball/0186c8eb03c677b64b9d23dc0cb5c9475553c7c5", - "reference": "0186c8eb03c677b64b9d23dc0cb5c9475553c7c5", + "url": "https://api.github.com/repos/codeclimate/php-test-reporter/zipball/0edc2e1b8ca47b74c326c925a6a0f083126a152d", + "reference": "0edc2e1b8ca47b74c326c925a6a0f083126a152d", "shasum": "" }, "require": { @@ -2841,7 +2840,7 @@ "codeclimate", "coverage" ], - "time": "2016-09-22 16:57:58" + "time": "2016-12-29T16:42:14+00:00" }, { "name": "guzzle/guzzle", @@ -2934,7 +2933,7 @@ "web service" ], "abandoned": "guzzlehttp/guzzle", - "time": "2014-01-28 22:29:15" + "time": "2014-01-28T22:29:15+00:00" }, { "name": "padraic/humbug_get_contents", @@ -2991,7 +2990,7 @@ "ssl", "tls" ], - "time": "2015-04-22 18:45:00" + "time": "2015-04-22T18:45:00+00:00" }, { "name": "padraic/phar-updater", @@ -3043,7 +3042,7 @@ "self-update", "update" ], - "time": "2016-01-05 23:08:01" + "time": "2016-01-05T23:08:01+00:00" }, { "name": "satooshi/php-coveralls", @@ -3101,7 +3100,7 @@ "github", "test" ], - "time": "2016-01-20 17:35:46" + "time": "2016-01-20T17:35:46+00:00" }, { "name": "symfony/console", @@ -3164,7 +3163,7 @@ ], "description": "Symfony Console Component", "homepage": "https://symfony.com", - "time": "2016-12-11 14:34:22" + "time": "2016-12-11T14:34:22+00:00" }, { "name": "symfony/stopwatch", @@ -3213,7 +3212,7 @@ ], "description": "Symfony Stopwatch Component", "homepage": "https://symfony.com", - "time": "2016-06-29 05:43:10" + "time": "2016-06-29T05:43:10+00:00" } ], "aliases": [],