Skip to content

swordev/php-unserialize-js

Repository files navigation

php-unserialize-js

PHP unserialize function for JavaScript.

Installation

npm install @swordev/php-unserialize

Usage

import { unserialize } from "@swordev/php-unserialize"

unserialize(`key|s:11:"hello world";`) // { key: "hello world" }

Contributing

To contribute to the project, follow these steps:

  1. Fork this repository.
  2. Create a branch: git checkout -b <branch_name>.
  3. Make your changes and check them: npm run prepare.
  4. Commit your changes: git commit -m '<commit_message>'.
  5. Push to the original branch: git push origin <branch_name>.
  6. Create the pull request.

Alternatively see the GitHub documentation on creating a pull request.

Forked project

This project was forked from node-php-session-unserialize because it had bugs (ed06e76, 7fa1b48) and it was not being maintained.

License

Distributed under the MIT License. See LICENSE for more information.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors