PHP code example of netlogix / compressingfilesystemstorage

1. Go to this page and download the library: Download netlogix/compressingfilesystemstorage library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

netlogix / compressingfilesystemstorage example snippets

yaml
Neos:
  Flow:
    resource:
      storages:
        nlxCompressingFileSystemStorage_zlib:
          storage: Netlogix\CompressingFileSystemStorage\CompressingWritableFileSystemStorage
          storageOptions:
            path: '%FLOW_PATH_DATA%Persistent/CompressingWritableFileSystemStorage/'
            # Can be any PHP stream wrapper, see https://www.php.net/manual/en/wrappers.compression.php
            streamWrapper: 'compress.zlib'