laravel:config-env-storage

SkillFiles & storage

Portable storage configuration across S3/R2/MinIO with optional CDN—env toggles, path-style endpoints, and URL generation

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the laravel:config-env-storage skill

What this skill tells your AI

The instructions your AI receives, as published by jpcaparas/superpowers-laravel in skills/config-env-storage/SKILL.md and read by ahel’s review.

Configure storage once; switch providers via env.

Env

FILESYSTEM_DISK=s3
AWS_ACCESS_KEY_ID=...
AWS_SECRET_ACCESS_KEY=...
AWS_DEFAULT_REGION=auto
AWS_BUCKET=...
AWS_ENDPOINT=https://r2.example.com       # for R2/MinIO
AWS_USE_PATH_STYLE_ENDPOINT=true          # if required
MEDIA_CDN_URL=https://cdn.example.com     # optional CDN/base URL

Tips

  • Prefer pre‑signed URLs for uploads/downloads when possible
  • For CDN, prefix public URLs with MEDIA_CDN_URL (app URL generation helper)
  • Use path‑style only when necessary; some providers require it

Testing

  • Fake storage in unit tests (Storage::fake('s3'))
  • Integration tests verify URL formats and ACLs

Signals

GitHub stars
154
Forks
2
Last commit
Jul 2026
Advanced
Catalog kind
skill
Gateway key
laravel-config-env-storage
Source
github.com/jpcaparas/superpowers-laravel