Oh Dear is the all-in-one monitoring tool for your entire website. We monitor uptime, SSL certificates, broken links, scheduled tasks and more. You'll get a notifications for us when something's wrong. All that paired with a developer friendly API and kick-ass documentation. O, and you'll also be able to create a public status page under a minute. Start monitoring using our free trial now.

Getting started with Domain Oriented Laravel

Original – by Freek Van der Herten – 1 minute read

A couple of days ago my colleague Brent published a blogpost on Domain Oriented Laravel. In short, he makes the case for organising your code around business concepts or features. That might sound very "heavy" or daunting, but it's actually for easy to get started with.

In this short video I explain how you can use PhpStorm to refactor your code. Make up your own mind if you need this in your projects.

If you want to know some more about how I like to structure my code, check out my talk on controllers I gave at this year's Laracon US.

Stay up to date with all things Laravel, PHP, and JavaScript.

You can follow me on these platforms:

On all these platforms, regularly share programming tips, and what I myself have learned in ongoing projects.

Every month I send out a newsletter containing lots of interesting stuff for the modern PHP developer.

Expect quick tips & tricks, interesting tutorials, opinions and packages. Because I work with Laravel every day there is an emphasis on that framework.

Rest assured that I will only use your email address to send you the newsletter and will not use it for any other purposes.

Comments

What are your thoughts on "Getting started with Domain Oriented Laravel"?

Comments powered by Laravel Comments
Want to join the conversation? Log in or create an account to post a comment.

Webmentions

Joan Morell liked on 24th October 2019
Daniel Muñoz ? liked on 23rd October 2019
Joe Grainger liked on 23rd October 2019
Rafa liked on 23rd October 2019
Liam Anderson liked on 23rd October 2019
barthelemy.ehui liked on 23rd October 2019
barthelemy.ehui retweeted on 23rd October 2019
LaravelCph retweeted on 23rd October 2019
Trajche Nakov liked on 23rd October 2019
Gianmarco Nalin liked on 23rd October 2019
LaravelCph liked on 23rd October 2019
Mario Kranjec liked on 23rd October 2019
Roman Pronskiy liked on 23rd October 2019
Dima Udod retweeted on 23rd October 2019
Ngoc Linh Pham liked on 23rd October 2019
Tony Messias liked on 23rd October 2019
Christian Klemp liked on 23rd October 2019
Percy Astocaza liked on 23rd October 2019
Percy Astocaza retweeted on 23rd October 2019
Lee Overy liked on 22nd October 2019
Neil Carlo Faisan Sucuangco retweeted on 22nd October 2019
jim mcmillan liked on 22nd October 2019
Pascal van Gemert liked on 22nd October 2019
overtrue liked on 22nd October 2019
DN liked on 22nd October 2019
Sanket Gandhi ? ? liked on 22nd October 2019
Matthew Poulter liked on 22nd October 2019
Volkan Metin liked on 22nd October 2019
Don't you know? liked on 22nd October 2019
Osama Kamel liked on 22nd October 2019
Wisdom Ebong liked on 22nd October 2019
Wisdom Ebong retweeted on 22nd October 2019
Paul liked on 22nd October 2019
Adam Hosker liked on 22nd October 2019
Pavlo Bezdverniy liked on 22nd October 2019
Mark Hesketh liked on 22nd October 2019
Mohammed Ashour liked on 22nd October 2019
Junaid Qadir retweeted on 22nd October 2019
duq liked on 22nd October 2019
Junaid Qadir liked on 22nd October 2019
Per Steinhorst liked on 22nd October 2019
Hazem Mohamed liked on 22nd October 2019
Mattias Geniar retweeted on 22nd October 2019
Arputharaj liked on 22nd October 2019
Mattias Geniar liked on 22nd October 2019
PHP Synopsis retweeted on 22nd October 2019
Omar Mejia liked on 22nd October 2019
oluwajubelo loves VueJS ? retweeted on 22nd October 2019
oluwajubelo loves VueJS ? liked on 22nd October 2019
Jérémy DECOOL liked on 22nd October 2019
Spatie retweeted on 22nd October 2019
Luka Vavetić retweeted on 22nd October 2019
Carlos Rodríguez retweeted on 22nd October 2019
Luka Vavetić liked on 22nd October 2019
Daniel Opitz liked on 22nd October 2019
बेद retweeted on 22nd October 2019
Anton Kristensen liked on 22nd October 2019
Rutvij liked on 22nd October 2019
Simon Payne liked on 22nd October 2019
Freek Van der Herten replied on 22nd October 2019
I tend to keep those in app\Http\Controllers. Subdirectories there mostly follow url structure.
random php guy liked on 22nd October 2019
Mike liked on 22nd October 2019
Brian Faust liked on 22nd October 2019
Matias Piuma liked on 22nd October 2019
Adam ?? Mench liked on 22nd October 2019
. liked on 22nd October 2019
Guus liked on 22nd October 2019
बेद replied on 22nd October 2019
What about controllers ?
Simon Payne retweeted on 22nd October 2019
Peter Parsons liked on 22nd October 2019
Levis Orgil liked on 22nd October 2019
Dinh Quoc Han ? liked on 22nd October 2019
Manojkiran retweeted on 22nd October 2019
Tomáš Máčala liked on 22nd October 2019
Mohammad Aktaa ? liked on 22nd October 2019
Brent liked on 22nd October 2019
Tom de Wit liked on 22nd October 2019
Manojkiran liked on 22nd October 2019
Stephen Jude liked on 22nd October 2019
G G T G liked on 22nd October 2019
Manuel Pijierro Sa retweeted on 22nd October 2019
Erick Patrick liked on 22nd October 2019
kevinhenney liked on 22nd October 2019
M. Abdullahi liked on 22nd October 2019
leunggamciu retweeted on 22nd October 2019
ダビッド トレス liked on 22nd October 2019
Alexander liked on 22nd October 2019
Vii liked on 22nd October 2019
Johann Casanova liked on 22nd October 2019
ダビッド トレス retweeted on 22nd October 2019
Mark Topper liked on 22nd October 2019
Cyril de Wit liked on 22nd October 2019
Jimmy Lipham liked on 22nd October 2019
Ashish K. Poudel liked on 22nd October 2019
Rias Van der Veken liked on 22nd October 2019
Tyler Jefford liked on 22nd October 2019
Can Vural liked on 22nd October 2019
ahgood liked on 22nd October 2019
Stuart Blackett liked on 22nd October 2019