Download the PHP package daikazu/laravel-glider without Composer
On this page you can find all versions of the php package daikazu/laravel-glider. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download daikazu/laravel-glider
More information about daikazu/laravel-glider
Files in daikazu/laravel-glider
Package laravel-glider
Short Description Start using Glide on-the-fly instantly in your Laravel blade templates.
License MIT
Homepage https://github.com/daikazu/laravel-glider
Informations about the package laravel-glider
Laravel Glider
Glider is a simple package to quickly get started using Glide in your Laravel blade templates. It provides some convienent blade components for generating various img related html tags. This package was heavily inspired Statamic and Spatie Media library.
Take a look at contributing.md to see a to do list.
Installation
Via Composer
Configuration
Publish Configuration file and modify the setting to your specific setup.
Adjust the configuration file as needed for your setup.
The default is assuming your files are coming from /resources/assets/
folder in your project.
Note: be sure that you also have the appropriate watermarks folder.
Usage
Glider uses native Glide syntax for URLs.
Check out the Glide API for more details.
Glider URL Builder
Glider Blade Components
THe following components use the width
attribute to prevent the generation of srcset image that are larger than the original image.
Responsive background image CSS class
Clear Glider image cache
Troubleshooting
Browser return 404s when using Nginx and custom static caching config
Make sure to NOT include your Glide route in your static caching configuration.
Contributing
Please see contributing.md for details and a todolist.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Mike Wall
- All Contributors
License
MIT. Please see the license file for more information.
All versions of laravel-glider with dependencies
league/glide-laravel Version ^1.0
league/flysystem Version ^3.0
intervention/image Version ^2.7
psr/http-message Version ^1.0