Skip to content

Instantly share code, notes, and snippets.

@ldommer
Last active September 3, 2025 11:49
Show Gist options
  • Select an option

  • Save ldommer/6473d4dde5522baeecb03dc6c188d156 to your computer and use it in GitHub Desktop.

Select an option

Save ldommer/6473d4dde5522baeecb03dc6c188d156 to your computer and use it in GitHub Desktop.
Laravel package directory structure.
.
|-- Actions
|-- APIs
|   |-- Clients
|   |-- Connectors
|   |-- Gateways
|   |-- Requests
|   |-- Transports
|-- Bindings
|-- Broadcasting
|-- Calculations
|-- Casts
|-- Clients
|-- Collections
|-- Components
|-- config
|-- Connectors
|-- Console
|   |-- Commands
|-- Contracts
|-- Criteria
|-- database
|   |-- data
|   |-- factories
|   |-- migrations
|   |-- seeders
|-- DTOs
|-- Enums
|-- Events
|-- examples
|-- Exceptions
|-- Exports
|-- Features
|-- Gateways
|-- Handlers
|-- helpers (functions)
|-- Helpers (classes)
|-- Http
|   |-- Controllers
|   |-- Middleware
|   |-- Requests
|   |-- Resources
|-- Imports
|-- Jobs
|-- Listeners
|-- Livewire
|-- Macros
|-- Mails
|-- Managers
|-- Models
|-- modules
|-- Notifications
|-- Observers
|-- packages
|-- Pipelines
|-- Policies
|-- Presenters
|-- Providers
|-- Queries
|-- Requests
|-- resources
|   |-- js
|   |-- lang
|   |-- scss
|   |-- views
|-- routes
|-- Rules
|-- Scopes
|-- scripts
|-- Services
|-- States
|-- storage
|-- stubs
|-- Subscribers
|-- Support
|-- templates
|-- tests
|   |-- Fakes
|   |-- Feature
|   |-- helpers (functions)
|   |-- Helpers (classes)
|   |-- Mocks
|   |-- stubs
|   |-- Unit
|-- Traits
|-- Transports
|-- Triggers
|-- utils (functions)
|-- Utils (classes)
|-- ValueObjects
|-- Views
|   |-- Components
|   |-- Composers
|-- Workflows
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment