PHPackages                             porkchopsandwiches/preserialiserserviceprovider - 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. porkchopsandwiches/preserialiserserviceprovider

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

porkchopsandwiches/preserialiserserviceprovider
===============================================

A Silex Service Provider for the Preserialiser

1.0.0(11y ago)0661MITPHP

Since Mar 9Pushed 11y ago1 watchersCompare

[ Source](https://github.com/porkchopsandwiches/PreserialiserServiceProvider)[ Packagist](https://packagist.org/packages/porkchopsandwiches/preserialiserserviceprovider)[ RSS](/packages/porkchopsandwiches-preserialiserserviceprovider/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (2)Versions (2)Used By (1)

PreserialiserServiceProvider
============================

[](#preserialiserserviceprovider)

A Silex Service Provider for the [Preserialiser](https://github.com/porkchopsandwiches/preserialiser) library.

```
use PorkChopSandwiches\PreserialiserServiceProvider\PreserialiserServiceProvider;

$app -> register(new PreserialiserServiceProvider(), array(
	"preserialiser.default_args"    => array()
));

$result = $app["preserialiser"] -> preserialise(...);
```

Also includes a trait for simple shortcut methods and code completion

```
class MyApplication extends \Silex\Application {
	use PorkChopSandwiches\PreserialiserServiceProvider\PreserialiserTrait;
}

$app = new MyApplication();

$app -> get("/", function () {

	# Access Preserialiser instance
	$app -> getPreserialiser() -> addDefaultArgs(array("foo" => true)) -> preserialise(...);

	# Invoke preserialise() directly
	$result = $app -> preserialise(...);
});
```

Install via Composer
--------------------

[](#install-via-composer)

```
{
	"require": {
		"porkchopsandwiches/preserialiserserviceprovider"
	}
}
```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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

4083d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7344435?v=4)[Cam Morrow](/maintainers/PorkChopSandwiches)[@porkchopsandwiches](https://github.com/porkchopsandwiches)

---

Top Contributors

[![porkchopsandwiches](https://avatars.githubusercontent.com/u/7344435?v=4)](https://github.com/porkchopsandwiches "porkchopsandwiches (5 commits)")

### Embed Badge

![Health badge](/badges/porkchopsandwiches-preserialiserserviceprovider/health.svg)

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

###  Alternatives

[igorw/config-service-provider

A config ServiceProvider for Silex with support for php, json and yaml.

215636.5k13](/packages/igorw-config-service-provider)

PHPackages © 2026

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