Download the PHP package webkinder/sproutset without Composer

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

Sproutset

Modern responsive image management for projects using the Roots Acorn framework.

Features

Requirements

Installation

The package auto-registers via Acorn. Configure image sizes in config/sproutset-config.php.

Configuration

Edit config/sproutset-config.php:

Global Options

Image Size Options

Required sizes: thumbnail, medium, medium_large, large

Example:

Image Size Synchronization

Sproutset keeps WordPress' core image size options (for example thumbnail_size_w, medium_size_w, etc.) in sync with the image_sizes configuration. This ensures that functions like wp_get_attachment_image_src() and other plugins that read these options always see the correct dimensions. Synchronization is guarded by a configuration hash so it only runs when the underlying configuration actually changes. When needed, you can influence when this synchronization happens via the image_size_sync.strategy option, the SPROUTSET_IMAGE_SIZE_SYNC_STRATEGY env/constant, or the sproutset_image_size_sync_strategy filter.

In environments where you prefer not to run synchronization logic during web requests, you can switch the strategy to cron or manual and trigger updates explicitly using the CLI command:

Usage

Basic usage:

Parameters

The component accepts loose types for all parameters (strings, integers, booleans, null) and normalizes them internally. You can pass values as strings from HTML attributes or as typed values from PHP/Blade.

Required:

Optional:

Arbitrary HTML Attributes:

Any additional attributes (like id, data-*, aria-*, title, etc.) are automatically passed through Laravel's attribute bag and merged into the rendered <img> tag.

Examples

Focal Point Cropping

Sproutset lets you define a focal point per image in the WordPress media library and uses it when cropping hard-cropped sizes.

Automatic Behavior

Optimization

Sproutset integrates with Spatie Image Optimizer for image optimization.

Install Optimization Binaries

Supported formats: JPEG (jpegoptim), PNG (optipng/pngquant), WebP (cwebp), AVIF (avifenc), SVG (svgo), GIF (gifsicle)

See Spatie Image Optimizer for installation instructions.

Automatic Optimization

When auto_optimize_images is enabled:

CLI Batch Optimization

The command shows a progress bar and lists available/missing binaries.

Contributing

Contributions are welcome! See Contributing Guide for details on reporting bugs, development workflow, and pull request process.

License

Licensed under GPL-3.0. Free to use, modify, and distribute under GPL-3.0 terms.


All versions of sproutset with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
roots/acorn Version ^6.0
roots/wordpress-no-content Version ^5.9 || ^6.0 || ^7.0
spatie/image Version ^3.8
spatie/image-optimizer Version ^1.8
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 webkinder/sproutset contains the following files

Loading the files please wait ...