Download the PHP package ampedweb/laravel-glide-in-a-box without Composer

On this page you can find all versions of the php package ampedweb/laravel-glide-in-a-box. 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 laravel-glide-in-a-box

Laravel Glide In a Box ============

Out of the box solution for Glide PHP for Laravel providing a fluent interface for the Glide API.

Full Docs & Examples are here: https://ampedweb.github.io/laravel-glide-in-a-box/

If you would like to use JUST the Fluent URL Builder in your project you can find that here: https://github.com/ampedweb/glide-url-helper. Docs are currently a work in progress there...!

Requirements


Features


Installation ============

Publish the config file:

Basic Usage ============

The base url "out of the box" for all glide image url requests is "/img/". You can adjust this in the glideinabox.php config file once you have published it.

Using the glide_url() helper function should make building your image urls simple.

An example using a preset as a base and then making a few alterations using the fluent methods:

There are also predefined constants if you prefer using those rather than strings, e.g:

You can also build a completely custom image with no preset. Below is a 200x100 px cropped webp image at 50% quality:

Always remember to call the ->url() method when you are done configuring your image.

Extension ============
If you would like to use your own image controller but still use the base functionality from the package then you will need to extend:

Running Tests:



All versions of laravel-glide-in-a-box with dependencies

PHP Build Version
Package Version
Requires ampedweb/glide-url-helper Version ^0.3
league/glide-symfony Version ^2.0
php Version ^7.3|~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 ampedweb/laravel-glide-in-a-box contains the following files

Loading the files please wait ....