Download the PHP package modularavel/imgenerator without Composer

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

modularavel/imgenerator

Dynamically image resizes by url parameters... fast and easy to use and/or customize.

Server Requirements

This should go without saying really but TimThumb requires PHP and the GD image library. These are really really common so you shouldn’t have any problems. If you find yourself without these installed then ask your webhost and many will install the software for you – if they don’t do the installation it’s probably worth considering a new host.

File Permissions

Some web hosts won’t execute PHP code if it sits in directories that have permissions set to 777. So make sure that any directories ‘above’ the timthumb.php file are set to a normal level of permissions (644 is good).

Image Formats

Make sure that the images are one of .JPG, .JPEG, .GIF, or .PNG, or they won’t be resized!

Ensure if the cache/index.html empty file exists

To prevent the cache files from being browsable, an index.html file is created in the cache directory. This file should have it’s permissions set to 666

Installation

You can install the package via composer:

You can publish the config file with:

This is the contents of the published config file:

Proportional Image Scaling

Usage is simple. The mysterious zc (Zoom & Crop) parameter comes into action, simply give it the value of 2 and it will apply the borders as required.

The 'zc' parameter = Zoom & Crop

Image Filters

When I talk about image filters, I mean the types of effects you can get in Photoshop or most other image editors. Things like altering brightness and contrast, and blur or emboss. All this functionality is included in TimThumb.

The functionality is actually the implementation of a single PHP function called imagefilter. For more details you can check out the imagefilter documentation on php.net.

API Reference

Get all items

Parameter Type Description
api_key string Required. Your API key

Get item

Parameter Type Description
id string Required. Id of item to fetch

add(num1, num2)

Takes two numbers and returns their sum.

Usage

Add this to your .env file

Changelog

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

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

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


All versions of imgenerator with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
ext-curl Version *
ext-gd Version *
league/flysystem-aws-s3-v3 Version 3.29.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 modularavel/imgenerator contains the following files

Loading the files please wait ....