https://github.com/jolicode/smile-php
🙂
https://github.com/jolicode/smile-php
Last synced: 12 months ago
JSON representation
🙂
- Host: GitHub
- URL: https://github.com/jolicode/smile-php
- Owner: jolicode
- License: apache-2.0
- Created: 2022-03-15T09:40:01.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-05-24T14:13:51.000Z (about 4 years ago)
- Last Synced: 2025-06-07T00:09:45.796Z (about 1 year ago)
- Language: PHP
- Homepage:
- Size: 379 KB
- Stars: 2
- Watchers: 13
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# What is Smile-PHP ?
Smile-PHP is an attempt at using the [Smile
Protocol](https://github.com/FasterXML/smile-format-specification) in PHP. If
you just want a quick look at what Smile is doing you may read this article as
well :
https://medium.com/code-with-ayush/understanding-smile-a-data-format-based-on-json-29972a37d376
Smile-PHP is still under development and is currently not ready at all.
Be careful with the input file since IDEs may format your binary string on
saving, making it a non-valid smile file. You probably don't want to save this
file using Control + S and rather use some other tools like the `cat` command or
Vim.
# Inspirations
Smile-PHP is mainly based on https://github.com/jhosmer/PySmile. However, it
also relies on https://github.com/ngyewch/smile-js and
https://github.com/zencoder/go-smile for some parts, especially for the tests
files where we merely took them from the latter.
# Requirements
Smile-PHP uses the PHP mb_string extension and the PHP BCMath extension, so you
must make sure your server has them installed.