An open API service indexing awesome lists of open source software.

https://github.com/isaactorresmichel/phpserializer

PHP Serializer is a Factory to get a SerDes class optimized for your PHP installation. Credits on original idea to https://www.drupal.org/project/couchbasedrupal
https://github.com/isaactorresmichel/phpserializer

deserializer php php-7 php7 serdes serializer

Last synced: 14 days ago
JSON representation

PHP Serializer is a Factory to get a SerDes class optimized for your PHP installation. Credits on original idea to https://www.drupal.org/project/couchbasedrupal

Awesome Lists containing this project

README

          

# PHP Serializer
[![Build Status](https://travis-ci.org/isaactorresmichel/phpserializer.svg?branch=master)](https://travis-ci.org/isaactorresmichel/phpserializer)
[![GitHub issues](https://img.shields.io/github/issues/isaactorresmichel/phpserializer.svg)](https://github.com/isaactorresmichel/phpserializer/issues)
[![GitHub forks](https://img.shields.io/github/forks/isaactorresmichel/phpserializer.svg)](https://github.com/isaactorresmichel/phpserializer/network)
[![GitHub stars](https://img.shields.io/github/stars/isaactorresmichel/phpserializer.svg)](https://github.com/isaactorresmichel/phpserializer/stargazers)
[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/isaactorresmichel/phpserializer/master/LICENSE)
[![Open Source Love](https://badges.frapsoft.com/os/v1/open-source.svg?v=103)](https://github.com/ellerbrock/open-source-badges/)

PHP Serializer is a Factory to get a SerDes class optimized for your PHP installation.

```php
getSerializer()->serialize("Hello World!");

$success = false;
$data = $sd_factory->getSerializer()->unserialize($data, $success);

if($success){
echo "Unserialize was successful: {$data}";
} else {
echo "Failed!";
}
```

Credits on original idea to David Garcia on https://www.drupal.org/project/couchbasedrupal