PHPackages                             osi/des - 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. osi/des

ActiveLibrary[Security](/categories/security)

osi/des
=======

des,3des for laravel

1.1.0(7y ago)125[1 issues](https://github.com/osindex/des/issues)mitPHPPHP &gt;=5.4

Since Dec 5Pushed 7y agoCompare

[ Source](https://github.com/osindex/des)[ Packagist](https://packagist.org/packages/osi/des)[ RSS](/packages/osi-des/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependencies (1)Versions (4)Used By (0)

install
-------

[](#install)

```
composer require osi/des

```

config
------

[](#config)

```
#config/app.php
Osi\Des\DesServiceProvider::class,

...

'Des' => Osi\Des\Facades\DesFacade::class,
'Des3' => Osi\Des\Facades\Des3Facade::class,

```

init
----

[](#init)

```
#.env
#.env
DES_MODE=des-ecb
DES3_MODE=des-ede3-cbc

DES_RES=
// base64,hex,''
DES_KEY=FFFFFFFFFFFFFFFFFFFFFFFF
DES_IV=FFFFFFFF

```

use
---

[](#use)

```
// $encrypt = \Des3::encrypt($key);
// $decrypt = \Des3::decrypt($encrypt);
$encrypt = \Des::encrypt($key);
$decrypt = \Des::decrypt($encrypt);
echo $encrypt . PHP_EOL . $decrypt;

```

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~0 days

Total

2

Last Release

2765d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/19927?v=4)[peter royal](/maintainers/osi)[@osi](https://github.com/osi)

---

Top Contributors

[![osindex](https://avatars.githubusercontent.com/u/4703215?v=4)](https://github.com/osindex "osindex (3 commits)")

### Embed Badge

![Health badge](/badges/osi-des/health.svg)

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

###  Alternatives

[mews/purifier

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

2.0k18.0M138](/packages/mews-purifier)[edamov/pushok

PHP client for Apple Push Notification Service (APNs) - Send push notifications to iOS using the new APNs HTTP/2 protocol with token-based (JWT with p8 private key) or certificate-based authentication

4103.4M17](/packages/edamov-pushok)[ass/xmlsecurity

The XmlSecurity library is written in PHP for working with XML Encryption and Signatures

955.6M33](/packages/ass-xmlsecurity)[spomky-labs/php-aes-gcm

AES GCM (Galois Counter Mode) PHP implementation.

715.0M20](/packages/spomky-labs-php-aes-gcm)[acmephp/ssl

PHP wrapper around OpenSSL extension providing SSL encoding, decoding, parsing and signing features

151.3M4](/packages/acmephp-ssl)[paragonie/ecc

PHP Elliptic Curve Cryptography library

25772.0k36](/packages/paragonie-ecc)

PHPackages © 2026

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