PHPackages                             querdos/qfile-encryption-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. [Security](/categories/security)
4. /
5. querdos/qfile-encryption-bundle

ActiveSymfony-bundle[Security](/categories/security)

querdos/qfile-encryption-bundle
===============================

A bundle for file encryption under symfony

v1.2(9y ago)1851MITPHP

Since Apr 11Pushed 9y ago1 watchersCompare

[ Source](https://github.com/Querdos/QFileEncryptionBundle)[ Packagist](https://packagist.org/packages/querdos/qfile-encryption-bundle)[ RSS](/packages/querdos-qfile-encryption-bundle/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (3)DependenciesVersions (6)Used By (0)

QFileEncryptionBundle
=====================

[](#qfileencryptionbundle)

The QFileEncryption Bundle is a symfony bundle that attempts to ease files encryption

- GnuPG is used to encrypt/decrypt files
- Automatically rename and associate encrypted files
- Can be used to generate a download link and immediately delete the decrypted file

The main goal is to provide a simple PHP interface between the well known GnuPG and your application. For a brief description on how the bundle handle the procedures:

- It can generate a key pair for a given user (with a passphrase of course) and store them in the specified gnupg home (in the `config.yml`). The point is that it will not store the keypair in the main GPG database but will create a local trust database for each user and will not perturb the main functionning of the host with these keys.
- For the encryption part, the bundle take the actual path of the file we want to encrypt, store the original name and generate a new one for this file, encrypt and remove the original file. The association is then stored in database
- For the decryption part, the bundle takes a stored encrypted file (`QFile`), a user associated key (`QKey`) and a passphrase (which is checked before trying decryption). It then try to decrypt the file, store it the `/tmp` directory generate a `BinaryFileResponse` (a response you can use to generate a download link in your application) and then remove the temporary decrypted file.

Documentation
=============

[](#documentation)

For usage documentation, see:
[Resources/doc/index.md](https://github.com/Querdos/QFileEncryptionBundle/blob/master/Resources/doc/index.md)

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity67

Established project with proven stability

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 ~1 days

Total

3

Last Release

3366d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/10584706?v=4)[querdos](/maintainers/querdos)[@Querdos](https://github.com/Querdos)

---

Tags

decryptionencryptionfilesgpgphpsecuritysymfonysecurity encryption cryptography file doctrine database symfony

### Embed Badge

![Health badge](/badges/querdos-qfile-encryption-bundle/health.svg)

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

###  Alternatives

[mews/purifier

Laravel 5/6/7/8/9/10 HtmlPurifier Package

2.0k18.7M141](/packages/mews-purifier)[paragonie/ecc

PHP Elliptic Curve Cryptography library

24820.0k36](/packages/paragonie-ecc)

PHPackages © 2026

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