PHPackages                             filejet/filejet-bundle - 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. filejet/filejet-bundle

ActiveSymfony-bundle[Image &amp; Media](/categories/media)

filejet/filejet-bundle
======================

Symfony bundle for FileJet PHP library

v3.0.6(1mo ago)010.4k↑150%6[1 issues](https://github.com/filejet/filejet-bundle/issues)MITPHPPHP ^7.1|^8.0

Since Nov 20Pushed 1mo agoCompare

[ Source](https://github.com/filejet/filejet-bundle)[ Packagist](https://packagist.org/packages/filejet/filejet-bundle)[ RSS](/packages/filejet-filejet-bundle/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (10)Dependencies (6)Versions (32)Used By (0)

FileJet bundle
==============

[](#filejet-bundle)

Provides seamless integration of FileJet service with your [Symfony](https://symfony.com/) based project.

For plain PHP library and FileJet documentation visit [filejet/filejet-php](https://github.com/filejet/filejet-php) repository.

Installation
------------

[](#installation)

You can install FileJet bundle easily via [Composer](https://getcomposer.org/):

```
composer require filejet/filejet-bundle ^2.3
```

We recommend to install following pachages before installing FileJet bundle if you don't already have installed any HTTPlug compatible packages:

```
composer require php-http/guzzle6-adapter ^1.1
composer require php-http/message ^1.6
```

After installation [register the bundle](https://symfony.com/doc/3.4/bundles.html) with Symfony's bundles system.

Upgrading the bundle
--------------------

[](#upgrading-the-bundle)

We recommend upgrade the bundle with `--with-dependencies` option:

```
composer update filejet/filejet-bundle --with-dependencies
```

Configuration
-------------

[](#configuration)

You need to provide API key and Storage ID within your config file:

```
file_jet:
    storage_id:
    api_key:
    signature_secret:  # optional - needed for usage with external files
    auto_mode: true/false # defaults to true
    custom_domain:  # optional, without scheme, e.g. cdn.example.com
```

More about [Auto optimization mode](https://github.com/filejet/filejet-php#auto-optimization-mode).

Usage
-----

[](#usage)

Bundle provides a Twig extension for generating the public and private (signed) URLs of your files.

```
file_url(publicFile, 'resize_100_100')
external_file_url(publiclyAccessibleImageUrl, 'resize_100_100')
private_file_url(privateFileIdentifier, expiresInSeconds)
```

`file_url` accepts object which needs to implement `FileJet\FileInterface` interface. As second argument you can optionally provide mutation string (if you want to generate URL of image) - see [mutations documentation](https://github.com/filejet/filejet-php)

`external_file_url` accepts URL of publicly accessible image as first argument and mutation as second one.

`private_file_url` accepts file identifier string as first argument and number of seconds the signed URL will be valid. The function internaly contacts FileJet API and returns signed URL for private files. This function can be used for files with sensitive information because the file is not publicly accessible the download link is valid only for the selected time period and then it expires. Each call of this function is contacting FileJet API hence the function cam be quite costly.

Bundle also provides `@FileJet\FileJet` service which is automatically wired to the Symfony's container. The documentation can be found at [filejet/filejet-php](https://github.com/filejet/filejet-php/blob/master/mutators.md).

###  Health Score

56

—

FairBetter than 97% of packages

Maintenance90

Actively maintained with recent releases

Popularity26

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity78

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~94 days

Recently: every ~138 days

Total

30

Last Release

50d ago

Major Versions

v1.1.1 → v2.0.02019-01-22

v2.6.5 → v3.0.02023-04-11

v2.6.6 → v3.0.12024-06-25

v2.6.7 → v3.0.32024-11-07

v2.6.8 → v3.0.52025-05-07

PHP version history (2 changes)v1.0.0PHP ^7.1

v2.6.2PHP ^7.1|^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/2c125639a9c5c2bfd86376c10a243fabd78acd9f50826cd6066aac48c194d8b2?d=identicon)[everlution](/maintainers/everlution)

---

Top Contributors

[![ivanbarlog](https://avatars.githubusercontent.com/u/2583610?v=4)](https://github.com/ivanbarlog "ivanbarlog (17 commits)")[![martinadamik](https://avatars.githubusercontent.com/u/22906734?v=4)](https://github.com/martinadamik "martinadamik (6 commits)")[![martinlutter](https://avatars.githubusercontent.com/u/19926144?v=4)](https://github.com/martinlutter "martinlutter (5 commits)")[![robisk](https://avatars.githubusercontent.com/u/6409829?v=4)](https://github.com/robisk "robisk (5 commits)")[![klinec](https://avatars.githubusercontent.com/u/5071231?v=4)](https://github.com/klinec "klinec (3 commits)")[![mdemo](https://avatars.githubusercontent.com/u/1333913?v=4)](https://github.com/mdemo "mdemo (2 commits)")[![lukas-habaj](https://avatars.githubusercontent.com/u/79228167?v=4)](https://github.com/lukas-habaj "lukas-habaj (1 commits)")

---

Tags

cdnimageoptimizationphpsymfony-bundle

### Embed Badge

![Health badge](/badges/filejet-filejet-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/filejet-filejet-bundle/health.svg)](https://phpackages.com/packages/filejet-filejet-bundle)
```

###  Alternatives

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.9M388](/packages/easycorp-easyadmin-bundle)[shopware/storefront

Storefront for Shopware

684.6M236](/packages/shopware-storefront)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M574](/packages/shopware-core)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

9421.6k61](/packages/open-dxp-opendxp)[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1189.8k](/packages/rcsofttech-audit-trail-bundle)[symfony/ux-toolkit

A tool to easily create a design system in your Symfony app with customizable, well-crafted Twig components

16126.1k1](/packages/symfony-ux-toolkit)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
