https://github.com/jbboehr/php-shoco
PHP bindings for the shoco string compressor
https://github.com/jbboehr/php-shoco
php php-bindings php-extension shoco
Last synced: about 1 month ago
JSON representation
PHP bindings for the shoco string compressor
- Host: GitHub
- URL: https://github.com/jbboehr/php-shoco
- Owner: jbboehr
- License: agpl-3.0
- Created: 2016-10-01T08:58:12.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2024-09-28T03:44:20.000Z (over 1 year ago)
- Last Synced: 2024-10-06T04:22:52.609Z (over 1 year ago)
- Topics: php, php-bindings, php-extension, shoco
- Language: C
- Homepage:
- Size: 85 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# php-shoco
[](https://github.com/jbboehr/php-shoco/actions/workflows/ci.yml)
[](https://coveralls.io/github/jbboehr/php-shoco?branch=master)
[](LICENSE.md)
PHP bindings for [shoco](https://github.com/Ed-von-Schleck/shoco).
## Installation
```sh
phpize
./configure
make
make test
sudo make install
```
## Usage
```php
$input = 'foo';
$compressed = shoco_compress($input);
$uncompressed = shoco_uncompress($compressed);
```
## License
This project is licensed under the [AGPLv3.0 or later](LICENSE.md).