Download the PHP package pjedesigns/filament-image-editor without Composer

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

Filament Image Editor

A powerful, client-side image editor plugin for Laravel Filament applications with crop, filter, and annotation tools.

Features

Requirements

Installation

Install the package via Composer:

Publish the config file (optional):

Basic Usage

Use the ImageEditor field in your Filament form:

Configuration

Storage Options

Configure how images are stored:

Filename Options

By default, images are saved with a UUID filename (e.g., 550e8400-e29b-41d4-a716-446655440000.jpg). Use shouldPreserveFilenames() to keep the original filename:

The original filename is slugified (lowercase, special characters replaced with hyphens) and the extension is set based on the output format.

With Spatie Media Library

Important: This component only supports single-file collections. When defining your Spatie Media Library collection on the model, you must use ->singleFile():

Dynamic custom properties (using the current record)

You can pass a Closure to customProperties() to generate properties based on the current record:

Editor Behavior

The previewMaxHeight option controls the maximum height of the image preview on the form. Images smaller than this height will display at their natural size without stretching, while larger images will be constrained to the max height. This prevents pixelation when displaying smaller conversion images.

When openOnSelect(false) is set:

Crop Options

Filter Options

Drawing Options

Output Options

Validation

History & Shortcuts

Keyboard Shortcuts

When the editor is open:

Shortcut Action
Ctrl/Cmd + Z Undo
Ctrl/Cmd + Y Redo
Ctrl/Cmd + Shift + Z Redo
Delete / Backspace Delete selected shape
Ctrl/Cmd + D Duplicate selected
Escape Deselect / Cancel

Zoom & Pan Controls

The editor provides several ways to zoom and pan around the image:

Zooming

Panning (when zoomed in)

The "Fit" option in the zoom dropdown resets the view to fit the entire image in the viewport.

Standalone Livewire Component

You can also use the editor as a standalone Livewire component:

JavaScript API

For programmatic usage outside of Livewire:

Configuration File

After publishing the config, you can set defaults in config/filament-image-editor.php:

Testing

Running Tests in Your Application

For full test coverage including Livewire integration tests, publish the tests to your Laravel application:

This publishes tests to tests/Feature/FilamentImageEditor/ and runs all 44 tests including:

Package Development

When developing the package itself:

Note: Livewire integration tests require a full Laravel application context and will be skipped when running standalone via composer test. Use the publish method above or run via a Laravel application for complete test coverage.

Changelog

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

Contributing

Please see CONTRIBUTING for details.

Security

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

Credits

License

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


All versions of filament-image-editor with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
filament/filament Version ^4.0|^5.0
livewire/livewire Version ^3.0|^4.0
spatie/laravel-package-tools Version ^1.16
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 pjedesigns/filament-image-editor contains the following files

Loading the files please wait ...