laravel:config-env-storage

Configure Laravel cloud storage providers via environment variables.

1|Updated Sep 22, 2025
One-click install
npx skills add https://github.com/meistro57/chat_bridge --skill laravel-config-env-storage
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: laravel:config-env-storage
Source: https://github.com/meistro57/chat_bridge/tree/main/.claude/skills/config-env-storage
Command: npx skills add https://github.com/meistro57/chat_bridge --skill laravel-config-env-storage

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill simplifies managing cloud storage configurations (S3, R2, MinIO) by allowing you to switch between providers using environment variables, eliminating the need for code changes.

Core Features & Use Cases

  • Provider Agnosticism: Configure storage settings once and toggle between S3, R2, or MinIO via .env variables.
  • CDN Integration: Optionally configure a CDN URL for serving assets.
  • Path-Style Endpoints: Supports path-style endpoint configurations required by some object storage services.
  • Use Case: A project needs to deploy to different cloud providers or use a local MinIO instance for development. This Skill allows seamless switching of the FILESYSTEM_DISK and related AWS/endpoint configurations without code modifications.

Quick Start

Configure your storage by setting the FILESYSTEM_DISK to s3 and providing your AWS credentials and bucket name.

Frequently Asked Questions about laravel:config-env-storage

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I switch Laravel cloud storage providers without changing code?

To switch Laravel storage providers without code changes, set the `FILESYSTEM_DISK` environment variable and update your AWS credentials. This allows dynamic switching between S3, R2, and MinIO by simply changing `.env` variables for provider agnosticism.

Can I use a local MinIO instance for Laravel development and S3 for production?

Yes, you can use a local MinIO instance for development and S3 for production by toggling environment variables. This portable storage configuration supports path-style endpoint requirements needed by MinIO, allowing seamless environment switching without altering application code.

Does Laravel support path-style endpoints required by MinIO object storage?

Yes, this configuration handles path-style endpoint requirements needed by some object storage services like MinIO. It facilitates proper URL generation and connectivity when using local development instances or specific object storage providers.

What is the best way to configure a CDN URL for serving Laravel storage assets?

The best way to configure a CDN URL for Laravel storage assets is through environment variable integration. This configuration optionally defines a CDN URL for serving assets dynamically, maintaining secure credential management while generating correct cloud storage URLs.

How do I manage secure credentials for S3 and R2 storage in Laravel?

Manage secure credentials for S3 and R2 by defining them as environment variables in your `.env` file. This configuration facilitates secure credential management by pulling AWS credentials, bucket names, and endpoints dynamically from the environment.