Download the PHP package michaeld555/filament-croppie without Composer

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

Filament Croppie - Documentation

Latest Version on Packagist Total Downloads

This package provides an image cropping component for FilamentPHP, using the Croppie.js library. It allows users to interactively crop images before uploading, offering flexible configuration options to control the crop size, aspect ratio, and format.

Installation

After installation, you'll be prompted to publish the configuration file and translations. It's recommended to publish the configuration file to customize the default options.

You can also run the install command to publish the config and translations

Configuration

The configuration file config/filament-croppie.php allows you to customize the behavior of the Croppie modal. The available options are:

Option Description Default Value
title Modal title. 'Manage Image'
description Modal description. 'Crop the image to the correct proportion'
icon Modal icon (optional). null
size Modal size (e.g., sm, md, lg, xl, 2xl, 3xl, 4xl, etc.). 4xl
boundary-height Height of the crop boundary area. 400
boundary-width Width of the crop boundary area. 600
viewport-height Height of the visible crop area (viewport). 200
viewport-width Width of the visible crop area (viewport). 200
enable-resize Enables resizing of the viewport. false
enable-zoom Enables zooming on the image. true
show-zoomer Shows the zoom control. true
viewport-type Type of viewport (circle or square). circle

Usage

To use the Croppie component in a Filament form, simply instantiate the Michaeld555\FilamentCroppie\Components\Croppie component:

Examples

Basic Usage with Custom Upload Path

Circular Crop (Avatar) with Larger Modal

Square Crop with Custom Viewport Size and Zoom Disabled

Croppie Component Methods

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 filament-croppie with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
filament/filament Version ^3.2
filament/forms Version ^3.0
illuminate/contracts Version ^10.0|^11.0
league/commonmark Version ^2.4
spatie/laravel-package-tools Version ^1.15.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 michaeld555/filament-croppie contains the following files

Loading the files please wait ....