Download the PHP package benbjurstrom/glint without Composer
On this page you can find all versions of the php package benbjurstrom/glint. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download benbjurstrom/glint
More information about benbjurstrom/glint
Files in benbjurstrom/glint
Package glint
Short Description A Cloudflare Images library for Laravel
License MIT
Homepage https://github.com/benbjurstrom/glint
Informations about the package glint
A Cloudflare Images library for Laravel
️⚠️ WARNING: This package is still in development and not ready for production use. ⚠️
For example, currently there's no option to use a custom model in place of the package's Image and ImageType models. I'll add that functionality once my implementation is stable.
Installation
Install the package via composer:
Add cloudflare credentials to your services config file:
Then publish and run the migrations with:
Usage
Client upload
Since there's so many ways to handle authentication, authorization, and response formatting this is left to the user to implement. But an example controller might look something like this:
Credits
- Ben Bjurstrom
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of glint with dependencies
ext-gd Version *
benbjurstrom/cloudflare-images-php Version ^0.5.0
illuminate/contracts Version ^9.0|^10.0
kornrunner/blurhash Version ^1.2
sammyjo20/saloon-laravel Version ^2.0
spatie/laravel-package-tools Version ^1.14.0