Skip to content

Instantly share code, notes, and snippets.

@leek
Created June 24, 2026 19:39
Show Gist options
  • Select an option

  • Save leek/8582e07bece87dd7366b5031da7eeae3 to your computer and use it in GitHub Desktop.

Select an option

Save leek/8582e07bece87dd7366b5031da7eeae3 to your computer and use it in GitHub Desktop.
config/CLAUDE.md

Configuration

Rules

  • MUST NOT call env() outside config/*.php. Application code reads via config('foo.bar').
  • SHOULD keep custom application settings in a dedicated config file (e.g. config/project.php).
  • MUST store third-party service credentials / API keys in config/services.php.

Naming

  • Provider classes (under app/Providers/) follow {Domain}Provider (e.g. PaymentProvider, StorageProvider, EmailProvider).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment