Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/swoole/ext-serialize
the fastest serialize function bound for php7
https://github.com/swoole/ext-serialize
Last synced: about 2 months ago
JSON representation
the fastest serialize function bound for php7
- Host: GitHub
- URL: https://github.com/swoole/ext-serialize
- Owner: swoole
- License: other
- Archived: true
- Created: 2016-09-26T01:54:07.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2021-08-27T03:25:03.000Z (over 3 years ago)
- Last Synced: 2024-08-03T20:06:11.412Z (5 months ago)
- Language: C
- Homepage:
- Size: 196 KB
- Stars: 93
- Watchers: 16
- Forks: 21
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-php-extensions - ext-serialize - 序列化 (数据转换)
README
## swoole_serialize
## require
- PHP 7+
## install
```bash
phpize
./configure
make
make install
echo "extension=/path/to/swoole_serialize.so" >> php.ini
```## features
- the fastest serialize function for php7+ (see bench.php,or you can bench it use you data,trust me it is cool!).
- support __sleep __wakeup __autoload etc.## use
```php
$str = swoole_serialize::pack($arr);
$arr = swoole_serialize::unpack($str);```
## contact us
- http://weibo.com/u/2661945152## License
Apache License Version 2.0 see http://www.apache.org/licenses/LICENSE-2.0.html