PhpSerializerNET 2.1.1

dotnet add package PhpSerializerNET --version 2.1.1
                    
NuGet\Install-Package PhpSerializerNET -Version 2.1.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="PhpSerializerNET" Version="2.1.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="PhpSerializerNET" Version="2.1.1" />
                    
Directory.Packages.props
<PackageReference Include="PhpSerializerNET" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add PhpSerializerNET --version 2.1.1
                    
#r "nuget: PhpSerializerNET, 2.1.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package PhpSerializerNET@2.1.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=PhpSerializerNET&version=2.1.1
                    
Install as a Cake Addin
#tool nuget:?package=PhpSerializerNET&version=2.1.1
                    
Install as a Cake Tool

<center>

Nuget GitHub Azure DevOps builds Build Status </center>


PhpSerializerNET

This is a .NET library for working with the PHP serialization format.

Usage is rather simple:

Serializing

using PhpSerializerNET;

string serializedData = PhpSerialization.Serialize(myObject);

and Deserializing

using PhpSerializerNET;

object myObject = PhpSerialization.Deserialize(serializedData);

Detailed documentation can be found here.

Changelog

Detailed list of changes for each version since initial release here..

Why?

I'm working with some legacy project that uses the format and the only other implementation of a serializer/deserializer I found had no license attached and I needed something GPL compatible. So wrote this one from scratch.

License

This project is licenced under the MPL 2.0.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net8.0

    • No dependencies.
  • net9.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on PhpSerializerNET:

Package Downloads
Paddle

Alpha Version Unofficial helpful sdk for Paddle

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.1.1 7,021 3/12/2025
2.1.0 348 3/7/2025
2.0.1 18,022 11/18/2024
2.0.0 327 11/13/2024
1.4.0 145,187 11/18/2023
1.3.0 71,888 11/10/2022
1.2.0 24,796 4/18/2022
1.1.0 149,520 1/17/2022
1.0.0 1,712 12/31/2021
0.11.0 944 12/23/2021
0.10.0 919 12/17/2021
0.9.0 894 12/8/2021
0.8.0 943 11/29/2021
0.7.4 862 11/28/2021
0.7.3 1,367 11/19/2021
0.7.2 961 11/9/2021
0.7.1 838 11/8/2021
0.7.0 1,126 10/11/2021
0.6.0 909 9/23/2021
0.5.1 1,548 9/21/2021
0.5.0 943 9/20/2021
0.4.0 1,006 9/12/2021
0.3.0 946 9/11/2021
0.2.0 899 9/7/2021
0.1.0 1,040 9/6/2021