Download the PHP package daiyanmozumder/image-wizard without Composer

On this page you can find all versions of the php package daiyanmozumder/image-wizard. 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 image-wizard

Image Wizard

Enterprise Laravel Image Processing powered by Python

Latest Version on Packagist Total Downloads PHP Version Require License


Image Wizard is an enterprise-grade Laravel image processing package. Instead of relying on PHP's memory-hungry GD/Imagick libraries, it bridges Laravel to a high-performance Python engine powered by the Pillow library.

Laravel handles the orchestration, fluent API, and background queueing, while Python executes the heavy CPU-bound image manipulation.

✨ Features


📦 Requirements


🚀 Installation

  1. Require the package via Composer:

  2. Publish the configuration file:

  3. Ensure you have Python and the Pillow library installed on your server/environment:

⚙️ Configuration

Open config/image-wizard.php. Here you can define default formats, compression quality, queue settings, and responsive variant presets.


🌐 Setting up Python on cPanel

On cPanel hosting environments, do not use cPanel's "Setup Python App" GUI web application tool (as it overrides your domain's web traffic with Python WSGI instead of serving your Laravel PHP application).

Instead, create a standalone command-line Python virtual environment via cPanel Terminal / SSH:

  1. Open cPanel Terminal (under Advanced) or connect via SSH.
  2. Create a Python virtual environment (--without-pip prevents ensurepip errors common on cPanel):

  3. Activate the environment:

  4. Install pip and Pillow:

    • For Python 3.10+:

    • For Python 3.9:
  5. Set the executable path in your Laravel .env:

  6. Clear your Laravel config cache:

📖 Usage Guide

Basic Processing

Chain commands together effortlessly. Execution is delayed until you call save(), allowing for clean architecture.

Advanced Resizing (Fit Strategies)

Pass a fit strategy as the third argument to resize() to control how the image scales.

Watermarks

Overlay logos onto your images with intelligent scaling, automatic cropping for wide logos, CSS-like positioning, opacity, and dynamic margins.

Smart Watermark Features:

Cloud Storage (AWS S3)

Image Wizard integrates natively with Laravel's Storage facade. It automatically streams files from S3 to a local temp folder, processes them via Python, streams them back to S3, and cleans up the temp files.

Background Processing (Queues)

Processing large 4K images blocks the PHP thread. Use queue() to dispatch a background job instantly instead of save().

Automatic Responsive Variants

Instead of manually creating multiple sizes, use your config presets to generate them all at once.

This generates:

Batch Processing

Apply a strict pipeline to an entire array of files.

Preserving Metadata (EXIF)

By default, EXIF data (GPS, camera info) is stripped to optimize file size. If you are building a photography portfolio, preserve it easily:


🛠️ Troubleshooting


🛡️ Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

📄 License

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


All versions of image-wizard with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1|^8.2|^8.3
illuminate/support Version ^10.0|^11.0|^12.0
illuminate/contracts Version ^10.0|^11.0|^12.0
symfony/process Version ^6.2|^7.0
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 daiyanmozumder/image-wizard contains the following files

Loading the files please wait ...