Phuc Le

Hi there! đź‘‹

I am TALL Stack developer. I make software products for SEO world. Things like: Larseo, DeKnot, Oh My Link, Oh Link, and more.


firstOrCreate() vs createOrFirst()

External Post: laravel-news.com

Laravel v10.20 came out with a brand-new method called createOrFirst(), contributed by Tony Messias, which might be a little confusing because Laravel already had a firstOrCreate(). What are the diffe...

How to get the current and previous URL in Livewire (new package đź’«)

External Post: ralphjsmit.com

Laravel provides a nice and easy way to get the current url: url()->current(). But have you ever tried using this within Livewire? If so, you won't be surprised that it looks something like /livewi...

How to send e-mails in Laravel with Tailwind CSS

External Post: ralphjsmit.com

Tailwind CSS is an awesome tool to build beautiful websites and apps. And Laravel is the one of the best frameworks to rapidly build complete applications.

Laravel groupBy() error

External Post: sinnbeck.dev

Are you getting errors with laravels groupBy()? Here is short explanation of why

Tappable Query Scopes in Laravel

External Post: www.juststeveking.uk

What is does is allow you to create class-based scopes that are invokable, and are called using the tap() method in Laravel, it looks a little like the below:

Free Tailwind CSS Components

Updated: May 07, 2022 — < 1 min Read

Here are some websites that provide free tailwind components: tailwind-elements.com flowbite.com (This website also has the premium plan) hyperui.dev - You can find Alpinejs version at here: hype...

Avoiding Memory Leaks When Running Laravel Queue Workers

External Post: divinglaravel.com

There has been a debate—for a long time—on whether or not PHP is a good choice for long-running processes. Based on my experience working on large scale projects that utilize hundreds of workers, I'm...

Maximizing Response Caching in Laravel

External Post: samuelstancl.me

How to take (some) response times from 100ms to 40ms to 1ms.

Handling Complex Data Flows

External Post: zaengle.com

At its core, programming is nothing more than stacking little blocks of logic on each other, building up a structure comprised of detailed organization, intentional design, and functional beauty. Unle...

Unconventional Laravel: Custom Pipeline Classes

External Post: ryangjchandler.co.uk

Basically, using laravel pipelines you can pass an object between several classes in a fluid way to perform any type of task and finally return the resulting value once all the “tasks” have been execu...

Get notified when new post is publishing.

Hey! đź‘‹ If you want to receive updates on what I'm up to, I host a newsletter on my blog and would love to have you.