Laravel Tutorials

Organizing Snappy

Published

Taylor Otwell:

One of the most common questions we receive from other Laravel users is how to organize a large code base like Snappy. In this post I’ll share a few of the things we do to keep our Laravel code base manageable.

I just started a new side project and have been revisiting the setup described. This organization really works well and the bigger the application grows the more useful the structure is. I’ve also been involved in a few other applications that use the standard models and controllers and it can get nasty fast.

This post is about 6 months old but still as relevant as ever. Also I highly recommend checking out Taylor’s book Laravel 4: Advanced Application Architecture. It’s a short read at 67 pages but lots of great knowledge shared within.

Eric L. Barnes photo

Eric is the creator of Laravel News and has been covering Laravel since 2012.

Sponsored

laravelcloud logo
Laravel Cloud

Easily create and manage your servers and deploy your Laravel applications in seconds.

Visit Laravel Cloud

The latest

View all →
PayZephyr: One Payment API for Stripe, Paystack, and PayPal image

PayZephyr: One Payment API for Stripe, Paystack, and PayPal

Read article
Bifrost Turns One With AI Builds and New Workflows image

Bifrost Turns One With AI Builds and New Workflows

Read article
Preview Blade Templates in macOS Finder with Quick Blade image

Preview Blade Templates in macOS Finder with Quick Blade

Read article
Artisan Debugging Commands in Laravel Telescope 5.24.0 image

Artisan Debugging Commands in Laravel Telescope 5.24.0

Read article
Queue totalSize() and JobInterrupted Event in Laravel 13.31 image

Queue totalSize() and JobInterrupted Event in Laravel 13.31

Read article
Find Unexpected Test Inputs with Fuzz for Pest image

Find Unexpected Test Inputs with Fuzz for Pest

Read article