LaravelJutsu
LaravelJutsu

Ludovic

@LaravelJutsu

Software engineer โ€“ Creator of Laravel Jutsu. Magic player. ๐ŸŽฒ

โ€ข โ€ข 56 Posts โ€ข 3K Views

  • No matching results...
  • Searching...

/ 255

Pinned

๐Ÿ’ป Looking to boost your PHP dev on VS Code? Check out TemPHPest! ๐Ÿ”ฅ

A powerful extension that rivals PHPStorm, with autocompletion, refactoring, and more!

๐Ÿ’ก Tested and approved on Laravel! ๐Ÿš€

(French content with subtitles)

youtu.be/RK9UjWwCfPc?si=lspMhJhVNxkh_pwT

โ€ข โ€ข

250

โ€ข

๐Ÿš€ New Video Alert!

Dive into the Action Design Pattern โ€” a concept we heard about often this week. ๐Ÿ’ปโœจ

I break it down step by step and show you how I implemented it in a real-world Laravel application.

๐ŸŒ English subtitles included for everyone!

youtu.be/VatvAVDx8pY

โ€ข โ€ข

75

โ€ข

๐Ÿ“น New video is out! ๐Ÿš€

I'm showcasing how I built an email campaign system in a professional project: patterns used, technical choices explained, and a dive into the code. ๐Ÿ’ป๐ŸŽฏ

๐Ÿ‘‰ Check it out here: youtu.be/aSF2WycnwoA

Looking forward to your feedback! ๐Ÿ‘‡

โ€ข โ€ข

128

โ€ข

Things have changed.

- CreateCampaignAction is solely responsible for creating a Campaign and handling only the processes that occur when a Campaign is created.

- CampaignMailerService manages the logic for properly sending emails and is used in other parts of the app.
image
image

โ€ข โ€ข

47

โ€ข

Every time you need to query something, it's usually better to start with the model you're talking about.

If you begin querying from another model, you may end up with 'unique/distinct' function because the joins will have duplicated them.

Keep it simple.

โ€ข โ€ข

131

โ€ข

Action + DTO + Service = instant win. ๐Ÿงจ

image

โ€ข โ€ข

107

โ€ข