Download the PHP package ranjeet968/ixlcompression without Composer
On this page you can find all versions of the php package ranjeet968/ixlcompression. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download ranjeet968/ixlcompression
More information about ranjeet968/ixlcompression
Files in ranjeet968/ixlcompression
Download ranjeet968/ixlcompression
More information about ranjeet968/ixlcompression
Files in ranjeet968/ixlcompression
Vendor ranjeet968
Package ixlcompression
Short Description A Laravel package for compressing images (JPG, JPEG, PNG, GIF, BMP, WEBP, PSD, TIFF), PDFs (Snappy, Dompdf, or standard PDF), and videos (MP4, MOV, AVI, MKV, WEBM, FLV) using Imagick, Ghostscript, and FFmpeg.
License proprietary
Homepage https://github.com/ranjeet968/ixlcompression
Package ixlcompression
Short Description A Laravel package for compressing images (JPG, JPEG, PNG, GIF, BMP, WEBP, PSD, TIFF), PDFs (Snappy, Dompdf, or standard PDF), and videos (MP4, MOV, AVI, MKV, WEBM, FLV) using Imagick, Ghostscript, and FFmpeg.
License proprietary
Homepage https://github.com/ranjeet968/ixlcompression
Please rate this library. Is it a good library?
Informations about the package ixlcompression
📦 IxlCompression - Laravel File Compression Package
IxlCompression is a Laravel package that compresses images and PDFs before storing them. It supports Imagick, Ghostscript, Snappy, and Dompdf for optimized compression.
🚀 Installation
Install the package using Composer:
composer require ranjeet968/ixlcompression
If you face dependency issues, try updating:
composer update ranjeet968/ixlcompression
📂 Supported File Types
✅ Compressed Files
📄 PDFs (Compressed using Ghostscript with configurable pdf_quality setting)
🖼️ Images (jpg, jpeg, png, gif, bmp, webp, psd, tiff - Compressed using Imagick with configurable image_quality setting)
🎞️ Videos (mp4, mov, avi, mkv, webm, flv - Compressed using FFmpeg with configurable CRF setting)
⛔ Unsupported Files
doc, xls, ppt, csv (No compression applied)
🔧 Usage
1️⃣ Basic File Compression
use Ranjeet\IxlCompression\FileCompressor;
$compressedFile = FileCompressor::compress($uploadedFile);
Here, $uploadedFile should be an instance of Illuminate\Http\UploadedFile or a valid file path.
🛠 Requirements
PHP 8.0+
Laravel 8+
Imagick (for image compression)
Ghostscript (for PDF compression)
FFmpeg (for video compression)
Snappy/Dompdf (optional PDF compression)
To install required dependencies:
For image support:
a. example for php 8.2 : sudo apt install php8.2-imagick -y
For PDF compression:
b. sudo apt install ghostscript -y
For Video compression:
c. sudo apt install ffmpeg php8.2-ffmpeg -y
## License
This package is proprietary and not open source.
You may not copy, reuse, or distribute this code without written permission.
All versions of ixlcompression with dependencies
PHP Build Version
Package Version
The package ranjeet968/ixlcompression contains the following files
Loading the files please wait ....