Skip to content

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

License

Notifications You must be signed in to change notification settings

isaactorresmichel/phpserializer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP Serializer

Build Status GitHub issues GitHub forks GitHub stars GitHub license Open Source Love

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

<?php

include 'vendor/autoload.php';

$sd_factory = new isaactorresmichel\phpserializer\SerializerFactory();

$data = $sd_factory->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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages