Laravel Tutorials

How to use the Laravel 5 directory structure with Laravel 4

Published

Ryan Tablada has a new post showing you how to setup a Laravel 4 project to match the new Laravel 5 structure.

Most of what I liked was the structure and use of service providers to boot things. With the development process that we’ve created with our team, some of the new features like Annotations, Elixer, and Request Validations aren’t on our list to adopt. So, after a bit of scratching my head, I was able to come up with a way to set up Laravel 4 to work similar to Laravel 5 (and hopefully make converting to Laravel 5 REALLY easy).

Eric L. Barnes photo

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

Sponsored

serpapi logo
SerpApi

The Web Search API for Your LLM and AI Applications

Visit SerpApi

The latest

View all →
Pause Polling in Background Tabs in Inertia.js v3.9 image

Pause Polling in Background Tabs in Inertia.js v3.9

Read article
Look What You Helped Me Build image

Look What You Helped Me Build

Read article
BashBox: A Sandboxed Bash Interpreter for AI Agents in PHP image

BashBox: A Sandboxed Bash Interpreter for AI Agents in PHP

Read article
Running Laravel's Scheduler on Multiple Servers image

Running Laravel's Scheduler on Multiple Servers

Read article
Laravel Fake Assertions Now Accept Property Arrays image

Laravel Fake Assertions Now Accept Property Arrays

Read article
Route::query() and Model defaults() in Laravel 13.35 image

Route::query() and Model defaults() in Laravel 13.35

Read article