PHPackages                             neighborhoods/imgproxy-client-component - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Image &amp; Media](/categories/media)
4. /
5. neighborhoods/imgproxy-client-component

ActiveLibrary[Image &amp; Media](/categories/media)

neighborhoods/imgproxy-client-component
=======================================

A Client Component to generate Imgproxy URLs

1.6.0(4y ago)04.3kMITPHPPHP ^7.3

Since Jul 23Pushed 4y ago16 watchersCompare

[ Source](https://github.com/neighborhoods/ImgProxyClientComponent)[ Packagist](https://packagist.org/packages/neighborhoods/imgproxy-client-component)[ RSS](/packages/neighborhoods-imgproxy-client-component/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (7)Dependencies (3)Versions (9)Used By (0)

ImgProxyClientComponent
=======================

[](#imgproxyclientcomponent)

A Client Component to generate `Imgproxy` URLs

`Imgproxy` is a fast and secure standalone server for resizing and converting remote images

[Imgproxy Github Page](https://github.com/imgproxy/imgproxy)

[Imgproxy Documentation](https://docs.imgproxy.net/#/)

Install
-------

[](#install)

Via Composer

```
$ composer require neighborhoods/imgproxy-client-component
```

Usage
-----

[](#usage)

The basic URL should contain the signature, resize parameters, and source URL, like this:

```
/%signature/%resizing_type/%width/%height/%gravity/%enlarge/plain/%source_url@%extension
/%signature/%resizing_type/%width/%height/%gravity/%enlarge/%encoded_source_url.%extension

```

Basic Documention for each field

- [Enlarge](https://docs.imgproxy.net/#/generating_the_url_basic?id=enlarge)
- [Fit](https://docs.imgproxy.net/#/generating_the_url_basic?id=resizing-types)
- [Width &amp; Height](https://docs.imgproxy.net/#/generating_the_url_basic?id=width-and-height)
- [Gravity](https://docs.imgproxy.net/#/generating_the_url_basic?id=gravity)
- [Salt &amp; Key](https://docs.imgproxy.net/#/configuration?id=url-signature)

```
