Download the PHP package scalexy/filament-spatie-media-library-croppie without Composer

On this page you can find all versions of the php package scalexy/filament-spatie-media-library-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-spatie-media-library-croppie

Filament Spatie Media Library Croppie Plugin

Latest Version on Packagist Total Downloads

Installation

You can install the package via composer (no need to install croppie as well as its assets are bundled):

To use outside filament (e.g. with just the forms package), add the js and css to your vite (or mix) config:

This field extends and therefore has all the functionality of the Filament Spatie Media Library Plugin field.

Use boundaryWidth and boundaryHeight to set width and height of the image area in the modal. The values above are the defaults.

Use viewportWidth and viewportHeight to set width and height of the cropper itself. Values above are the defaults.

showZoomer can be called to show the zoom bar below the image in the modal.

We can make croppie circular using avater method.

Modal size can be customized using modalSize method. For setting the heading use modalHeading.

Set image quality and format

If your cropped images are very large (see: [https://github.com/Foliotek/Croppie/issues/444]), you can use the imageFormat() and imageQuality() methods to modify the resulting image.

Defaults are:

License

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

Acknowldgements

This is a fork of josefbehr/FilamentCroppie, which in turn is a fork of of nuhel/FilamentCroppie that extended and adapted to use spatie/media-library and install croppie via npm.

Changelog

v0.0.1


All versions of filament-spatie-media-library-croppie with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0
filament/spatie-laravel-media-library-plugin Version ^2.0
spatie/laravel-medialibrary Version ^10
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 scalexy/filament-spatie-media-library-croppie contains the following files

Loading the files please wait ....