Download the PHP package 3brs/imgproxy-bundle without Composer

On this page you can find all versions of the php package 3brs/imgproxy-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package imgproxy-bundle

Imgproxy Bundle for Symfony

A Symfony bundle that integrates imgproxy with Liip Imagine Bundle, replacing on-the-fly image processing with imgproxy's powerful and performant image transformation service.

Features

Requirements

Installation

Step 1: Install the bundle

Step 2: Register the bundle

Register the bundle in config/bundles.php:

Step 3: Configure imgproxy

Create config/packages/three_brs_imgproxy.yaml:

Step 4: Set environment variables

Step 5: Update Liip Imagine configuration

In config/packages/liip_imagine.yaml, change the cache resolver:

Step 6: Clear cache

Production deployment

See imgproxy documentation for Kubernetes, AWS ECS, or other deployment options.

Filter Compatibility

✅ Fully Supported (13/17 filters)

Liip Imagine Filter Imgproxy Equivalent Notes
thumbnail resize:fill or resize:fit Most commonly used
resize resize:force + size Exact dimensions
scale resize:fit + size Proportional scaling
downscale resize:fit + enlarge:0 Never enlarges
upscale resize:fit + enlarge:1 Always enlarges
crop resize:fill + size Crop to dimensions
rotate rotate Angle in degrees
auto_rotate auto_rotate:1 EXIF-based rotation
background background + extend Background color
grayscale saturation:0 Grayscale effect
watermark watermark Requires URL
strip Automatic
interlace Automatic

⚠️ Partially Supported

❌ Not Supported

Usage

No changes to your templates are needed! All existing imagine_filter calls work automatically:

How It Works

Example Generated URLs:

Performance Benefits

Using imgproxy provides significant performance improvements:

Static Assets

The bundle automatically detects and skips static assets (webpack builds, bundles):

These are returned without imgproxy processing.

Development

Setting up Development Environment

  1. Clone the repository:

  2. Install dependencies:

  3. Start Docker environment:

Available Make Commands

Run make help to see all available commands:

Testing

Run the complete test suite:

Test Suite

The project has comprehensive test coverage with 106 tests and 381 assertions:

Test Coverage:

Code Modernization with Rector

Rector automatically refactors code to modern PHP standards:

What Rector improves:

Notes:

Security Audit

Note: Security audit is primarily useful for applications, not libraries/bundles.

This bundle doesn't commit composer.lock, so the audit only checks development dependencies.

For bundle developers:

For application developers using this bundle:

Always run security audit in your application to check all dependencies including this bundle:

The audit checks dependencies against the PHP Security Advisories Database.

Continuous Integration

The project uses CircleCI to test against multiple PHP and Symfony versions:

Each CI build runs:

  1. PHPUnit - 106 tests with 381 assertions (unit + integration)
  2. ECS - Code style checks (PSR-12)
  3. PHPStan - Static analysis (level 8)
  4. Deptrac - Architecture validation (PHP 8.1+ only)
  5. Rector - Code modernization checks (PHP 8.0-8.3)
  6. Infection - Mutation testing for code quality

Architecture Layers:

The project uses Deptrac to enforce clean architecture:

Version-specific tools:

Contributing

We welcome contributions! Please follow these guidelines:

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Make your changes
  4. Run tests (make test)
  5. Commit your changes (git commit -m 'Add amazing feature')
  6. Push to the branch (git push origin feature/amazing-feature)
  7. Open a Pull Request

Code Quality Standards

All contributions must pass our quality gates:

Before submitting:

License

This project is licensed under the MIT License.

Credits

Developed and maintained by 3BRS

Support


All versions of imgproxy-bundle with dependencies

PHP Build Version
Package Version
Requires php Version ^8
symfony/config Version ^5.4 || ^6.0 || ^7.0
symfony/dependency-injection Version ^5.4 || ^6.0 || ^7.0
symfony/http-kernel Version ^5.4 || ^6.0 || ^7.0
symfony/string Version ^5.4 || ^6.0 || ^7.0
symfony/translation-contracts Version ^2.5 || ^3.0
liip/imagine-bundle Version ^2.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package 3brs/imgproxy-bundle contains the following files

Loading the files please wait ...