Povilas Korop | Laravel Courses Creator & Youtuber (@povilaskorop) 's Twitter Profile
Povilas Korop | Laravel Courses Creator & Youtuber

@povilaskorop

~20 yrs in web-dev, now mostly Laravel.
My Laravel courses: laraveldaily.com/courses
My Youtube channel: youtube.com/c/LaravelDaily

ID: 993118867

linkhttps://laraveldaily.com calendar_today06-12-2012 13:49:46

46,46K Tweet

57,57K Followers

402 Following

Povilas Korop | Laravel Courses Creator & Youtuber (@povilaskorop) 's Twitter Profile Photo

Received THIS comment, aww. Video is from 2018. I didn't use a mic then. I was mumbling. No editing. But topic is still relevant. So if you want to understand polymorphic relations in Laravel, here's the link to that video: youtube.com/watch?v=rx1DQB…

Received THIS comment, aww.

Video is from 2018.
I didn't use a mic then. I was mumbling. No editing.

But topic is still relevant.

So if you want to understand polymorphic relations in Laravel, here's the link to that video: youtube.com/watch?v=rx1DQB…
Martin Joo (@mmartin_joo) 's Twitter Profile Photo

🔥 New validation in Laravel 12.21 There's a new `in_array_keys` validation that ensures specific keys exist in your arrays. No more manual array_key_exists checks.

🔥 New validation in Laravel 12.21

There's a new `in_array_keys` validation that ensures specific keys exist in your arrays. No more manual array_key_exists checks.
Povilas Korop | Laravel Courses Creator & Youtuber (@povilaskorop) 's Twitter Profile Photo

It's so cool to live in a green city like Vilnius, Lithuania, where I can get out of the office and have THIS view in 5 minutes. Touching the grass to wind down after intense 2-hour coding with AI. Information overload.

It's so cool to live in a green city like Vilnius, Lithuania, where I can get out of the office and have THIS view in 5 minutes.

Touching the grass to wind down after intense 2-hour coding with AI.

Information overload.
Wendell Adriel (@wendell_adriel) 's Twitter Profile Photo

PHP/Laravel Tip 🚀 When you have two cases for Custom Exceptions related to the same Domain, instead of creating multiple Exception classes, you can use a single class with different methods! Cleaner and more organised codebase FTW! 💪🔥

PHP/Laravel Tip 🚀

When you have two cases for Custom Exceptions related to the same Domain, instead of creating multiple Exception classes, you can use a single class with different methods!

Cleaner and more organised codebase FTW! 💪🔥
Joe Dixon ☁️ (@_joedixon) 's Twitter Profile Photo

Interested in a sneak peak under the hood of Laravel Cloud? ☁️ Perhaps some light reading for your trip to Laracon? ⛰️ Part one of three below 👇

Povilas Korop | Laravel Courses Creator & Youtuber (@povilaskorop) 's Twitter Profile Photo

AI coding tip. If coding agent failed, you can ask it about the REASONS and you will know how to prevent the same things from happening in the future. As a result, improve your Rules file(s) and future prompts. Don't treat prompts as one-off things. Help the agent improve.

AI coding tip.

If coding agent failed, you can ask it about the REASONS and you will know how to prevent the same things from happening in the future.

As a result, improve your Rules file(s) and future prompts.

Don't treat prompts as one-off things.
Help the agent improve.
Povilas Korop | Laravel Courses Creator & Youtuber (@povilaskorop) 's Twitter Profile Photo

Thought to maybe re-try PhpStorm Junie after a few months, maybe it got better? Went to read the ratings/reviews. Rrrrrright... Back to Claude Code / Cursor.

Thought to maybe re-try PhpStorm Junie after a few months, maybe it got better?

Went to read the ratings/reviews.

Rrrrrright...

Back to Claude Code / Cursor.
Povilas Korop | Laravel Courses Creator & Youtuber (@povilaskorop) 's Twitter Profile Photo

I love the opinion in this article, so relatable. Nobody Knows How To Build With AI Yet worksonmymachine.substack.com/p/nobody-knows… With AI, everyone seems to be "winging it" in their own different way. And there's no ONE correct strategy. And tactics/tools keep changing weekly.

Povilas Korop | Laravel Courses Creator & Youtuber (@povilaskorop) 's Twitter Profile Photo

I've just spent 30 minutes discussing with Claude a new Laravel package/tool/business idea. Then googled on top. Got the "green light" to proceed at least with a draft version. Such market validation feels so futuristic and surreal.

Povilas Korop | Laravel Courses Creator & Youtuber (@povilaskorop) 's Twitter Profile Photo

This Week in Laravel: NativePHP Mobile and AI Guidelines from Spatie laraveldaily.com/post/this-week… My tradition of re-publishing weekly newsletter issue as an article on the website. Inside, there's a link to subscribe, to actually get this digest every Thursday.

This Week in Laravel: NativePHP Mobile and AI Guidelines from Spatie laraveldaily.com/post/this-week…

My tradition of re-publishing weekly newsletter issue as an article on the website.

Inside, there's a link to subscribe, to actually get this digest every Thursday.
Povilas Korop | Laravel Courses Creator & Youtuber (@povilaskorop) 's Twitter Profile Photo

One reason to STILL use PhpStorm. When AI (Claude Code, in this case) hallucinates and comes up with some method name that doesn't exist, Storm will underline it right away, even before automatic/manual testing. BTW I'm still using all three: - Cursor - Claude Code - PhpStorm

One reason to STILL use PhpStorm.

When AI (Claude Code, in this case) hallucinates and comes up with some method name that doesn't exist, Storm will underline it right away, even before automatic/manual testing.

BTW I'm still using all three:
- Cursor
- Claude Code
- PhpStorm
Povilas Korop | Laravel Courses Creator & Youtuber (@povilaskorop) 's Twitter Profile Photo

Opinion. For roles in Laravel, there's nothing wrong with starting VERY simple. Enum column in the "users" table. Or just "users.is_admin" as 0/1, with default 0. When needed (if ever!), you can refactor to more complex structure.

Opinion.

For roles in Laravel, there's nothing wrong with starting VERY simple.

Enum column in the "users" table.
Or just "users.is_admin" as 0/1, with default 0.

When needed (if ever!), you can refactor to more complex structure.
Povilas Korop | Laravel Courses Creator & Youtuber (@povilaskorop) 's Twitter Profile Photo

What motivates me to work. Level 1: motivational quote (weak) Level 2: inspirational video about someone working on great things (stronger) Level 9000: conversation with someone who would benefit from my work (omg give me computer and get out of my way)

Povilas Korop | Laravel Courses Creator & Youtuber (@povilaskorop) 's Twitter Profile Photo

Laravel tip. Use `whereColumn()` to compare two columns in the same row! Perfect for finding records where one field is greater than another, or checking for inconsistencies between related columns in your data. Link to the docs: laravel.com/docs/12.x/quer… #practicalLaravelDocs

Laravel tip.

Use `whereColumn()` to compare two columns in the same row!

Perfect for finding records where one field is greater than another, or checking for inconsistencies between related columns in your data.

Link to the docs: laravel.com/docs/12.x/quer…

#practicalLaravelDocs