Pros:
gd/imagick), presets, and Laravel ecosystem integration (disks, queues) are preserved, allowing future-proofing for new use cases (e.g., video support).Cons:
Laravel Compatibility:
glide:key-generate command and facade (Glide::url()) are unaffected.Glide::imageResponse() and Glide::imageAsBase64() continue to work as before.Storage and Driver Requirements:
source, cache, watermarks), PHP extensions (gd/imagick), and watermarking logic remain identical to prior versions.Configuration:
images, avatars) and environment variables (e.g., GLIDE_SIGN_KEY) are unchanged. Key rotation or disk misconfigurations remain potential pitfalls.Performance Risks:
Compatibility Risks:
Security Risks:
GLIDE_SIGN_KEY), signed URL leaks, and driver vulnerabilities (GD/Imagick) require the same safeguards. No new security features or warnings in 3.1.1..env for key exposure and implement short-lived signed URLs for sensitive media.Documentation and Onboarding:
Storage and Caching Strategy:
source, cache) and caching strategy (e.g., CDN, Redis). No new tools or optimizations in 3.1.1.Driver Selection:
gd and imagick based on performance testing. No driver-related changes in 3.1.1.Signed URLs:
Multi-Server Setup:
base_url, defaults) are tested in staging. No multi-server changes in 3.1.1.Monitoring:
Upgrade Path:
Fallback Strategies:
Ideal Use Cases:
Less Ideal Use Cases:
Pre-Integration Assessment:
gd/imagick) are available.Installation:
composer require axn/laravel-glide:^3.1.1
php artisan vendor:publish --provider="AXN\Glide\GlideServiceProvider"
php artisan glide:key-generate
Configuration:
config/glide.php for disks, servers, and defaults. Validate .env for GLIDE_SIGN_KEY and driver settings.base_url or sign_key per server.Testing:
Glide::url(), Glide::imageResponse(), and signed URL generation.gd/imagick) and disks (e.g., S3, local).Deployment:
Post-Migration:
Sequencing:
gd/imagick availability.^3.1.1.config/glide.php and .env.Compatibility:
Glide::url(), presets, or signed URLs will work unchanged.How can I help you explore Laravel packages today?