Download the PHP package badrshs/laravel-dynamic-image-composer without Composer

On this page you can find all versions of the php package badrshs/laravel-dynamic-image-composer. 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-dynamic-image-composer

Laravel Dynamic Image Composer

Compose images dynamically from templates with text and image overlays. Perfect for generating certificates, badges, social media graphics, or any dynamic image content.

Features

Installation

Install via Composer:

Quick Install (Recommended)

Run the install command which will publish config, migrations, views, and optionally fonts:

This command will:

Manual Installation

If you prefer manual installation:

Quick Start

Visual Designer Interface

The package includes a complete drag-and-drop visual designer for creating and editing templates:

  1. Create a template via Filament or directly in the database
  2. Click the "Designer" button on any template
  3. Upload image elements (logos, stamps, decorations)
  4. Drag and position elements on the canvas
  5. Add text fields with positioning and styling
  6. Preview your design in real-time
  7. Generate the final composite image

Accessing the Designer:

Basic Usage

With Image Overlays

Using Database Templates

Configuration

Edit config/dynamic-image-composer.php:

Field Configuration

Each field supports these options:

Option Type Description Default
value string Text to display Required
x int|'center' X position or 'center' 0
y int Y position 0
fontSize int Font size 20
color string Color name from config 'black'
font string Font name from config 'default'
alignment string 'left', 'center', 'right' 'left'

Filament Integration (Optional)

If you're using Filament, register the resource in your panel:

This provides a full admin interface for managing templates and elements, including:

Displaying Generated Images

Use the included Blade component to display generated images in a grid:

Where $generatedImages is an array of:

Advanced Usage

Custom Fonts

Add custom fonts to your public/fonts directory or storage, then register them in config:

Custom Colors

Add custom colors in config:

Arabic Text Support

The package automatically detects and handles Arabic text:

Use Cases

Requirements

License

MIT License. See LICENSE file for details.

Credits

Developed by Badr Shs


All versions of laravel-dynamic-image-composer with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1|^8.2|^8.3|^8.4
illuminate/support Version ^10.0|^11.0|^12.0
illuminate/database Version ^10.0|^11.0|^12.0
ext-gd Version *
khaled.alshamaa/ar-php Version ^6.3
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 badrshs/laravel-dynamic-image-composer contains the following files

Loading the files please wait ...