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 →
Slow Job Alerts and Replica Commit IDs in Laravel 13.40 image

Slow Job Alerts and Replica Commit IDs in Laravel 13.40

Read article
Flock: A Free, Native Herd Alternative for Laravel image

Flock: A Free, Native Herd Alternative for Laravel

Read article
Live Props for Real-Time Updates in Inertia.js v3.11 image

Live Props for Real-Time Updates in Inertia.js v3.11

Read article
Cooldown Dependency Policy now in Composer 2.11 image

Cooldown Dependency Policy now in Composer 2.11

Read article
Email Sending and Testing for Laravel in One Account image

Email Sending and Testing for Laravel in One Account

Read article
Decide with Jev: Tie Every AI Check to the Exact Draft image

Decide with Jev: Tie Every AI Check to the Exact Draft

Read article