PHPackages                             swiftmade/simple-serialize - 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. swiftmade/simple-serialize

ActiveLibrary

swiftmade/simple-serialize
==========================

Basic key:value; style serialization with string support only.

v1.0(7y ago)085MITPHPPHP &gt;=5.4

Since Nov 10Pushed 7y ago1 watchersCompare

[ Source](https://github.com/swiftmade/simple-serialization)[ Packagist](https://packagist.org/packages/swiftmade/simple-serialize)[ RSS](/packages/swiftmade-simple-serialize/feed)WikiDiscussions master Synced 2mo ago

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

｛ Simple Serialization
======================

[](#-simple-serialization)

This is a PHP package that serves a very simple purpose: Serialize associative string arrays.

Why?
====

[](#why)

We are using this package to turn some data into SMS messages and then convert SMS messages back to PHP arrays. You can use it for any purpose you like, when `json_encode` or `serialize` is overkill.

Features
========

[](#features)

- Simple API: `simple_serialize($array)` and `simple_unserialize($string)`
- Your keys or values *can contain* quotes, whitespaces, etc. No escaping needed.
- The only limitation is, your keys cannot contain **colon (:)** and your values cannot contain **semi-colon (;)**
- Tolerates syntax errors! It will still extract the valid bits of data.

Usage
=====

[](#usage)

Installation:

```
composer require swiftmade/simple-serialization

```

Serialize:

```
$array = ['your_key' => 'whatever information'];
$string = simple_serialize($array); // "your_key:whatever information"

```

Unserialize:

```
$string = "your_key:whatever information";
$array = simple_unserialize($string); // ['your_key' => 'whatever information'];

```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity56

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

2738d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e1a6f7d15e25d0c9490952b89aca09cabe98a8945a45cd8851e43588634d95d1?d=identicon)[aozisik](/maintainers/aozisik)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/swiftmade-simple-serialize/health.svg)

```
[![Health](https://phpackages.com/badges/swiftmade-simple-serialize/health.svg)](https://phpackages.com/packages/swiftmade-simple-serialize)
```

PHPackages © 2026

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