0024-laravel-config-env-storage
CommunitySwitch Laravel storage providers with env
AuthorMrJmpl3
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill solves the problem of keeping Laravel media storage configuration portable across S3, R2, and MinIO environments without rewriting code or rebuilding URLs when infrastructure changes.
Core Features & Use Cases
- Provider-agnostic storage setup: Configure storage once and switch between S3/R2/MinIO via environment variables like FILESYSTEM_DISK, AWS_ENDPOINT, and AWS_USE_PATH_STYLE_ENDPOINT.
- Optional CDN-based public URL generation: Prefix generated public media URLs using MEDIA_CDN_URL when you want CDN-backed delivery instead of direct provider URLs.
- Testing-friendly guidance: Use Storage::fake in unit tests and validate URL formats and ACL behavior in integration tests to ensure consistent results across environments.
Quick Start
Ask your AI to generate a Laravel storage configuration that reads the S3/R2/MinIO environment variables and optionally builds media URLs using MEDIA_CDN_URL.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: 0024-laravel-config-env-storage Download link: https://github.com/MrJmpl3/codex_____data_____configuration/archive/main.zip#0024-laravel-config-env-storage Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.