iborodikhin / php-glue
Files storage scheme which «glues» couple of small files into several BLOBs.
dev-master
2016-03-07 15:44 UTC
Requires
- php: >=5.3
Requires (Dev)
- fzaninotto/faker: ^1.4
- phpunit/phpunit: ~4.6
This package is not auto-updated.
Last update: 2024-11-09 16:53:20 UTC
README
Files storage scheme which «glues» couple of small files into several BLOBs
Usage
Create Glue instance:
$glue = new \Glue\Glue('/srv/data', 1); // creates 16 BLOBs in /srv/data $glue->save('test_file', str_repeat('a', PHP_INT_MAX)); echo $glue->read('test_file'); $glue->delete('test_file'); $glue->compact();
Be sure data directory is writable by php process user.