Download the PHP package pinimize/laravel-lzf-compresssion without Composer

On this page you can find all versions of the php package pinimize/laravel-lzf-compresssion. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-lzf-compresssion

Pinimize LZF Extension

Latest Version on Packagist Tests License

This package provides LZF compression support for the Pinimize compression and archive package for Laravel.

Requirements

Installation

First, ensure that the LZF PHP extension is installed. You can check this by running:

If you don't see 'lzf' in the output, you'll need to install the extension before proceeding.

Once the LZF extension is installed, you can install the package via composer:

Prerequisites

This package is an extension of the Pinimize Compression and Archive package. The main Pinimize package will be automatically installed as a dependency for this package.

Configuration

After installation, you need to add the LZF driver configuration to your config/pinimize.php file. If you haven't published th main config file, you can do so by running this command:

`

Add the following to the drivers array:

Your complete compression configuration should look something like this:

Usage

Once configured, you can use the LZF driver just like any other compression driver in Pinimize. All methods available in the main Pinimize package are fully supported with the LZF driver. For example:

For more detailed usage instructions and a full list of available methods, please refer to the Pinimize Compression and Archive documentation.

Important Notes

  1. The LZF compression algorithm does not support compression levels. The level parameter in the configuration is ignored for the LZF driver.
  2. The LZF extension must be installed on your server for this package to work. If you're using a managed hosting service, you may need to contact your hosting provider to have it installed.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Testing

Run the tests with:

Changelog

Please see CHANGELOG for more information on what has changed recently.

Credits

License

The MIT License (MIT). Please see License File for more information.


All versions of laravel-lzf-compresssion with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
pinimize/laravel-compression-and-archive Version ^0.2
ext-fileinfo Version *
ext-lzf Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package pinimize/laravel-lzf-compresssion contains the following files

Loading the files please wait ....