Download the PHP package vdlp/oc-glide-plugin without Composer
On this page you can find all versions of the php package vdlp/oc-glide-plugin. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download vdlp/oc-glide-plugin
More information about vdlp/oc-glide-plugin
Files in vdlp/oc-glide-plugin
Package oc-glide-plugin
Short Description Allows developers to easily manipulate images in October CMS powered websites.
License GPL-2.0
Informations about the package oc-glide-plugin
Vdlp.Glide
Glide is a wonderfully easy on-demand image manipulation library written in PHP. Its straightforward API is exposed via HTTP, similar to cloud image processing services like Imgix and Cloudinary. Glide leverages powerful libraries like Intervention Image (for image handling and manipulation) and Flysystem (for file system abstraction).
Requirements
- PHP 7.4 or higher
- October CMS 2.x
Installation
Configuration
To configure this plugin execute the following command:
This will create a config/glide.php
file in your app where you can modify the configuration.
Modify the environment file by adding the following lines:
We recommend using a 128 character (or larger) signing key to prevent trivial key attacks. Consider using a package like CryptoKey to generate a secure key.
For more details about the security and why a sign key is used, check glide.thephpleague.com.
Add an url to your disk in the config/filesystem.php
to display the images properly, for example:
Example
Here you can see some basic examples of how to use this plugin. Out of the box, the default configuration used is main
.
Questions? Need help?
If you have any question about how to use this plugin, please don't hesitate to contact us at [email protected]. We're happy to help you. You can also visit the support forum and drop your questions/issues there.
All versions of oc-glide-plugin with dependencies
composer/installers Version ^1.0 || ^2.0
league/glide-laravel Version ^1.0
october/system Version ^2.0 || ^3.0