jqr / Php Serialize
Licence: mit
Use PHP's serialization methods from Ruby.
Stars: ✭ 119
Programming Languages
ruby
36898 projects - #4 most used programming language
Projects that are alternatives of or similar to Php Serialize
laminas-session
Object-oriented interface to PHP sessions and storage
Stars: ✭ 35 (-70.59%)
Mutual labels: session, sessionstorage
mst-persist
Persist and hydrate MobX-state-tree stores (in < 100 LoC)
Stars: ✭ 75 (-36.97%)
Mutual labels: session, sessionstorage
ngx-localstorage
An Angular wrapper for localstorage/sessionstorage access.
Stars: ✭ 27 (-77.31%)
Mutual labels: serialization, sessionstorage
Fasthttpsession
A fast and powerful session package for fasthttp servers
Stars: ✭ 19 (-84.03%)
Mutual labels: session, sessionstorage
Hprose Delphi
Hprose is a cross-language RPC. This project is Hprose 2.0 for Delphi and FreePascal
Stars: ✭ 100 (-15.97%)
Mutual labels: serialization
Pretty Yaml
PyYAML-based module to produce pretty and readable YAML-serialized data
Stars: ✭ 110 (-7.56%)
Mutual labels: serialization
Nuxt Storage
🛢 Utilities for easy read and write browser's storage in Nuxt.js project
Stars: ✭ 98 (-17.65%)
Mutual labels: sessionstorage
Go Memdump
Very fast, very unsafe serialization for Go
Stars: ✭ 118 (-0.84%)
Mutual labels: serialization
Protobuf
Protocol Buffers - Google's data interchange format
Stars: ✭ 52,305 (+43853.78%)
Mutual labels: serialization
Yamldotnet
YamlDotNet is a .NET library for YAML
Stars: ✭ 1,382 (+1061.34%)
Mutual labels: serialization
Typical
Typical: Fast, simple, & correct data-validation using Python 3 typing.
Stars: ✭ 111 (-6.72%)
Mutual labels: serialization
Symfony Jsonapi
JSON API Transformer Bundle for Symfony 2 and Symfony 3
Stars: ✭ 114 (-4.2%)
Mutual labels: serialization
Msgpack
msgpack.org[Go] MessagePack encoding for Golang
Stars: ✭ 1,353 (+1036.97%)
Mutual labels: serialization
Undopro
UndoPro is a command-based undo system integrated into Unity's default system. This allows devs to use actions for their undo/redo operations without forcing the user into a new undo-workflow!
Stars: ✭ 107 (-10.08%)
Mutual labels: serialization
Ruby PHP Serializer
This module provides two methods: PHP.serialize
and PHP.unserialize
,
both of which should be compatible with the similarly named functions in PHP.
Installing
In your Gemfile
:
gem "php-serialize"
Usage
PHP.serialize({'foo' => 'bar'}) #=> "a:1:{s:3:\"foo\";s:3:\"bar\";}"
PHP.unserialize('a:1:{s:3:"foo";s:3:"bar";}') #=> {"foo"=>"bar"}
PHP.unserialize
can also read PHP sessions, which are collections of named
serialized objects. These can be reserialized using PHP.serialize_session
,
which has the same semantics as PHP.serialize
, but which only supports Hash
and associative Arrays for the root object.
See http://php.net/serialize and http://php.net/unserialize for details on the PHP side of all this.
Acknowledgements
- TJ Vanderpoel, initial PHP serialized session support.
- Philip Hallstrom, fix for self-generated Structs on unserialization.
- Edward Speyer, fix for assoc serialization in nested structures.
Author: Thomas Hurst [email protected], http://hur.st/
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].