PHPackages                             jaam/silex-optimus-provider - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. jaam/silex-optimus-provider

AbandonedArchivedLibrary[Utility &amp; Helpers](/categories/utility)

jaam/silex-optimus-provider
===========================

A Silex Service Provider for the Optimus ID transformation library

v0.1(9y ago)018MITPHPPHP &gt;=5.6.0

Since Feb 9Pushed 9y ago1 watchersCompare

[ Source](https://github.com/letsjaam/silex-optimus-provider)[ Packagist](https://packagist.org/packages/jaam/silex-optimus-provider)[ Docs](https://github.com/letsjaam/silex-optimus-provider)[ RSS](/packages/jaam-silex-optimus-provider/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

Optimus Silex Service Provider
==============================

[](#optimus-silex-service-provider)

This library provides a Optimus service for the Silex framework.

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

[](#installation)

```
composer require jaam/silex-optimus-provider
```

Usage
-----

[](#usage)

Full documentartion of the Optimus library can be found in its repository:

Firstly, generate your Prime, Inverse Prime and Random values.

```
php vendor/bin/optimus spark
```

Feed these values into the container.

```
use Jaam\Silex\Provider\OptimusServiceProvider;

$app->register(new OptimusServiceProvider, [
    'optimus.options' => [
        'prime' => YOUR_PRIME
        'inverse' => YOUR_INVERSE
        'random' => YOUR_RANDOM
    ]
]);

$hashId = $app['optimus']->encode($myId);
$myId = $app['optimus']->decode($hashId);
```

#### Twig Extension

[](#twig-extension)

If the `twig` service is available, the service provider adds an extension enabling a Twig filter to use in your templates.

```
{{ my_id|optimus }}
```

#### Services

[](#services)

The provider exposes a `optimus` service. Please see the [Optimus documentation](https://github.com/jenssegers/optimus) for full usage.

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity48

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

Unknown

Total

1

Last Release

3380d ago

### Community

---

Top Contributors

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

---

Tags

hashidobfuscationoptimussilexsilex-provider

### Embed Badge

![Health badge](/badges/jaam-silex-optimus-provider/health.svg)

```
[![Health](https://phpackages.com/badges/jaam-silex-optimus-provider/health.svg)](https://phpackages.com/packages/jaam-silex-optimus-provider)
```

###  Alternatives

[heyday/silverstripe-hashpath

Hash path provides a function in SilverStripe templates which given a path to an asset returns a path including a hash of the asset

1475.3k](/packages/heyday-silverstripe-hashpath)

PHPackages © 2026

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