PHPackages                             brkwsky/contao-encryption - 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. brkwsky/contao-encryption

Abandoned → [plenta/contao-encryption](/?search=plenta%2Fcontao-encryption)Contao-bundle[Security](/categories/security)

brkwsky/contao-encryption
=========================

A replacement service for the removed Contao encryption class.

1.1.0(4y ago)0332MITPHPPHP ^7.4 || ^8.0

Since Mar 2Pushed 4y ago2 watchersCompare

[ Source](https://github.com/christianbarkowsky/contao-encryption)[ Packagist](https://packagist.org/packages/brkwsky/contao-encryption)[ RSS](/packages/brkwsky-contao-encryption/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (8)Versions (3)Used By (0)

[![](https://github.com/christianbarkowsky/contao-encryption/workflows/PHP%20Unit%20and%20Security%20Check/badge.svg)](https://github.com/christianbarkowsky/contao-encryption/workflows/PHP%20Unit%20and%20Security%20Check/badge.svg)

Abandoned
=========

[](#abandoned)

**This package is abandoned. Please use plenta/contao-encryption.**

Contao Encryption
-----------------

[](#contao-encryption)

A replacement service for the deprecated Contao encryption class (Contao\\Encryption).

Install using Contao Manager
----------------------------

[](#install-using-contao-manager)

Search for **encryption** and you will find this extension.

Install using Composer
----------------------

[](#install-using-composer)

```
composer require brkwsky/contao-encryption
```

Example &gt; DCA
----------------

[](#example--dca)

```
// tl_member
$GLOBALS['TL_DCA']['tl_member']['fields']['bank_iban'] = [
    'label' => &$GLOBALS['TL_LANG']['tl_member']['bank_iban'],
    'exclude' => true,
    'inputType' => 'text',
    'eval' => [
        'mandatory' => false,
        'maxlength' => 32,
        'tl_class' => 'w50',
        'feEditable' => true,
        'feGroup' => 'bank'
    ],
    'load_callback' => [
        ['brkwsky.encryption', 'decrypt']
    ],
    'save_callback' => [
        ['brkwsky.encryption', 'encrypt']
    ],
    'sql' => "varchar(32) NOT NULL default ''"
];
```

Example &gt; Url parameter
--------------------------

[](#example--url-parameter)

```
$encryptionService = \Contao\System::getContainer()->get('brkwsky.encryption');
$urlParameter = $encryptionService->encryptUrlSafe('value');

$urlGetParameter = \Contao\Input::get('parameter');
$encryptionService->decryptUrlSafe($urlGetParameter);
```

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 61.3% of commits — single point of failure

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

Total

2

Last Release

1584d ago

PHP version history (2 changes)1.0.0PHP ^7.2

1.1.0PHP ^7.4 || ^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1230547?v=4)[Christian Barkowsky](/maintainers/christianbarkowsky)[@christianbarkowsky](https://github.com/christianbarkowsky)

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

---

Top Contributors

[![christianbarkowsky](https://avatars.githubusercontent.com/u/1230547?v=4)](https://github.com/christianbarkowsky "christianbarkowsky (19 commits)")[![chwchw](https://avatars.githubusercontent.com/u/8430041?v=4)](https://github.com/chwchw "chwchw (12 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/brkwsky-contao-encryption/health.svg)

```
[![Health](https://phpackages.com/badges/brkwsky-contao-encryption/health.svg)](https://phpackages.com/packages/brkwsky-contao-encryption)
```

###  Alternatives

[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751291.4k43](/packages/civicrm-civicrm-core)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M574](/packages/shopware-core)[n1ebieski/ksef-php-client

PHP API client that allows you to interact with the API Krajowego Systemu e-Faktur

9067.8k](/packages/n1ebieski-ksef-php-client)[markocupic/calendar-event-booking-bundle

Contao Calendar Event Booking Bundle

135.2k1](/packages/markocupic-calendar-event-booking-bundle)[contao-community-alliance/dc-general

Universal data container for Contao

1680.8k90](/packages/contao-community-alliance-dc-general)

PHPackages © 2026

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