Explore tweets tagged as #laravelTips
@codewithdary
Dary
3 years
Have you ever used the withCount() method in Laravel? It allows you to retrieve a count of related records without actually loading them. 1 more day until I release my Query Builder & Eloquent course #laraveltips
6
19
149
@codewithdary
Dary
3 years
The whereDate() method in Laravel is an advanced query builder method that can be used to filter records by a specific date or range of dates. 7 days until I release my Query Builder & Eloquent course #laraveltips
4
22
112
@alieGotha
Kate Glushenko
2 months
Is there a secret Laravel chapter titled 'Dealing with Code Rage'? Source: https://t.co/HkTZDXIVmg #SoftwareEngineering #LaravelBooks #LaravelTips #BookDeals #php #book
0
3
5
@harrisrafto
Harris Raftopoulos
11 months
New video on @laravelnews ! Learn how to use AsArrayObject and AsCollection and improve your JSON data handling! #laravel #laraveltips
2
12
43
@KalsMuhammad
Meddy
3 years
I found this really handy #laraveltips
0
0
1
@codewithdary
Dary
3 years
Use local scopes in your Laravel app to define query constraints that can be applied to any Eloquent query builder instance, instead of repeatedly performing queries. 2 days until I release my Query Builder & Eloquent course #laraveltips
6
18
111
@codewithdary
Dary
3 years
Both the find() method and findOrFail() method are useful for retrieving a single record. However, they return different responses when a record is not found. Which one do you use? 3 days until I release my Query Builder & Eloquent course #laraveltips
5
4
43
@codewithdary
Dary
3 years
Have you ever heard of the toSql() method? It returns the SQL query that would be executed if you ran the Eloquent query. 5 days until I release my Query Builder & Eloquent course #laraveltips
3
6
43
@alloyking_1
Anumadu Moses
10 months
Fastest Way to Get Unique Values in #PHP #LaravelTips
0
0
1
@codewithdary
Dary
3 years
Do you add default attributes at the database level or the Eloquent level? Personally, I prefer the database level because it keeps the schema organized. 4 days until I release my Query Builder & Eloquent course #laraveltips
10
4
51
@laravelnews
Laravel News
3 months
From $listeners ��� to #[On]: how Livewire’s new event system is simplifying component communication. #LaravelTips
1
2
37
@alieGotha
Kate Glushenko
6 months
Could JSON in MySQL be the culinary disaster of the tech world? Source: https://t.co/pjHR1pfMDw #LaravelTips #WebDev #FullStack #Coding #mysql #store
0
2
7
@hetaridev
إِبرَاهِيم | مُبَرمِج
1 year
أنا دائماً أشارك مواضيع عن الـ Frontend، لكن هذه المرة حبيت أغير وأتكلم عن الـ Backend، وبالتحديد عن واحدة من الأدوات الرائعة في Laravel وغيرها من Frameworks وهي Seeder. #Laravel #Seeder #LaravelSeeder #تطوير_ويب #BackendDevelopment #LaravelTips 1/6
1
1
3
@laravel_updates
Laravel Updates | Tips and Tricks
3 years
💡In #Laravel You can use same Form Request class for Multiple Actions of controller by using in the match or switch case in "rules" method. #LaravelTips #LaravelTricks #PHP
12
60
245
@hucenafeef
Hussain Afeef
3 years
Laravel Validator can also be used to validate command arguments. The following is a straightforward example #laravel #laravelTips #dataValidation #command
0
15
60
@laravel_updates
Laravel Updates | Tips and Tricks
3 years
💡TIL You could create a middleware that logs the response time of each request #Laravel #LaravelTips #LaravelTricks #PHP
5
29
119
@codewithdary
Dary
3 years
Did you know that you could use the withDefault method to specify a default value for a related model in case there is no related model found? 6 days until I release my Query Builder & Eloquent course. #laraveltips
3
2
45
@laravelnews
Laravel News
8 months
Optimize Your Laravel Factories! ⚡ Go over the recycle method with @‌harrisrafto to: 🎯 Reuse models across factories 🚀 Perfect for complex test data ✨ Improve testing performance Give us a ❤️ if this helped, and follow for more Laravel tips! #laravel #laraveltips
0
5
58
@laravelnews
Laravel News
9 months
Master Nested Arrays in Laravel! ⚡ Discover replaceRecursive with @harrisrafto and: 🎯 Update nested arrays safely 🚀 Handle user preferences ✨ Keep unmodified values intact #laravel #laraveltips
0
6
46