Support the ongoing development of Laravel.io →
posted 10 years ago
Architecture

Hello,

I am building my first laravel application, so I am quite new to laravel.

After reading about all the patterns everyone is recommending to use, I started my journey on how to go about it.

Gateway - Repository Pattern : http://stackoverflow.com/questions/23115291/how-to-make-an-rest-api-first-web-application-in-laravel

Validation service : http://culttt.com/2013/07/29/creating-laravel-4-validation-services/

How do I put everything together ?

Where do I use my validation service ? Inside the gateway or the Repository ?

Here is what I came up with after searching all over the place

https://github.com/octabrain/Laravel4-Patterns

Please suggest whether this is the correct approach ?

Regards.

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

octabrain octabrain Joined 8 Mar 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.