laravel:config-env-storage

Storage Config (S3/R2/MinIO/CDN)

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "laravel:config-env-storage" with this command: npx skills add jpcaparas/superpowers-laravel/jpcaparas-superpowers-laravel-laravel-config-env-storage

Storage Config (S3/R2/MinIO/CDN)

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

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

laravel:routes-best-practices

No summary provided by upstream source.

Repository SourceNeeds Review
General

laravel:blade-components-and-layouts

No summary provided by upstream source.

Repository SourceNeeds Review
General

laravel:queues-and-horizon

No summary provided by upstream source.

Repository SourceNeeds Review
General

laravel:quality-checks

No summary provided by upstream source.

Repository SourceNeeds Review