tonybogdanov/x-stream

PHP wrapper for virtual password protected filesystem

v1.3 2020-11-02 20:15 UTC

This package is auto-updated.

Last update: 2024-12-29 06:08:16 UTC


README

Adds a simple API to map a protocol to a physical path (folder) encrypting the contents with a specified passphrase.

If you are able, build and install this extension to boost performance tremendously: https://github.com/TonyBogdanov/php-xor-string

use XStream\Wrapper\Factory;

Factory::register( 'protocol', '/physical/path/to/files', 'passphrase' );