Explore tweets tagged as #laravelTips
@DeveloperMithu
Developer Mithu
1 year
Laravel new - max validation rule 🎉. A max validation rule was added for the Password rule object to maintain consistency between min and max lengths. ✅. #laravel #php #laraveltips @laravelphp
Tweet media one
1
14
73
@alloyking_1
Moses
5 months
Fastest Way to Get Unique Values in #PHP.#LaravelTips
Tweet media one
0
0
1
@TheMahekUnnisa
Mahek
2 years
🟥 Laravel Developers Insight . Did you know?. ⭐When creating migrations, you don't necessarily have to use underscore _ symbol between parts. ⭐You can put the name into quotes and then use spaces instead of underscores. #Laravel #PHP #laraveltips #laravelframework
Tweet media one
4
7
84
@codewithdary
Dary
2 years
Did you know that you could open any chapter from Laravel docs through the CLI? #laraveltips
Tweet media one
0
8
38
@laravelnews
Laravel News
3 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
4 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
@hucenafeef
Hussain Afeef
2 years
Laravel Validator can also be used to validate command arguments. The following is a straightforward example. #laravel #laravelTips #dataValidation #command
Tweet media one
0
15
60
@codewithdary
Dary
2 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
Tweet media one
4
23
113
@genius_asif
Asif Shaikh 🇮🇳
2 years
Laravel Tips 💡. Laravel 10.4 introduces the File::json() method, streamlining the process of retrieving JSON encoded data from a file. This simplifies reading JSON data and decoding it. #Laravel #PHP #webdevelopment #LaravelTips
Tweet media one
1
28
67
@alieGotha
Kate Glushenko
21 days
Could JSON in MySQL be the culinary disaster of the tech world?. Source: #LaravelTips #WebDev #FullStack #Coding #mysql #store
Tweet media one
0
2
7
@codewithdary
Dary
2 years
Have you ever used the insertGetId() method in Laravel? It allows you to insert a new record into a table and retrieve its ID in a single query #laraveltips
Tweet media one
10
27
174
@codewithdary
Dary
2 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
Tweet media one
6
19
150
@a_libori_roch
Axel Libori Roch 🐘
4 months
🔥 Avoid truncating errors in local Laravel environment! Add this to AppServiceProvider and see full error messages while developing. #Laravel #DevelopmentTips #ErrorHandling #AppServiceProvider #PHP #WebDevelopment #LaravelTips #Programming
Tweet media one
2
10
105
@osememenogbe
Ose Ogbe
2 years
#Laravel tip for pruning models. Sometimes you may want to periodically delete models that are no longer needed. Add the Prunable trait and implement a prunable method in your model; then schedule a database cleanup. #laraveltips #laraveltricks #laraveldeveloper
Tweet media one
1
15
46
@_Tec9ja
Tec9ja
21 days
🚨 Laravel Tip You’re Probably Not Using:. Use once() to run a function only once per request, even if you call it 10 times. Perfect for:.Config lookups.Token generation.DB settings cache. Clean. Fast. 🔥.#Laravel #PHP #WebDev #LaravelTips
Tweet media one
0
1
2
@magarrent
Marc - magarrent 💻
2 years
Just made a tiny script to remove (accidentally) duplicated rows in #Laravel . Do you have any other methods?. #laraveltips #laraveltip #PHP
Tweet media one
2
9
17
@a_libori_roch
Axel Libori Roch 🐘
3 months
🔧 passedValidation() is the perfect spot in a Laravel Form Request to tweak data after validation but before hitting the controller. Great for merging or modifying attributes! #LaravelTips #PHP
Tweet media one
2
5
40
@genius_asif
Asif Shaikh 🇮🇳
2 years
Laravel Factory Tip 💡. Sometimes you may wish to alternate the value of a given model attribute for each created model. You may accomplish this by defining a state transformation as a sequence. #Laravel #LaravelTips #webdevelopment #php
Tweet media one
1
11
33
@MrPunyapal
Punyapal Shah | Laravel Artisan | PHP Developer
2 years
🎯 Pro Laravel Validation: Mastering Conditional Field Validation! ⚙️. Unlock the power of dynamic validation rules based on field values. Elevate your skills with these real-world examples and level up your Laravel game! 🚀. #LaravelTips #Laravel #php 🎯🌱
Tweet media one
4
30
119