๐ฏ 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 ๐ฏ๐ฑ
๐ซ The next version of Tinkerwell will include a feature that I wanted to add for a long time.
You will now see the execution time and memory consumption of your evaluated PHP code - making it the perfect companion to easily profile your code.
https://t.co/WhYQ5bKaBg
๐ฅ #Laravel Tip: As promised, here's the uploaded file validation rule that I demoed the API of last week. It checks for file existence, max file size and image validity.
๐๐ป Follow the link in the reply for the full gist (which contains a lot more code).
JUST IN: Russian state departments agree to legalize #bitcoin mining in energy-abundant regions.
"Let them earn money" - Chair of Congress finance committee ๐ท๐บ
I'm excited to celebrate another year of Binance as #BinanceTurns5 - get your personalized birthday card to join in the fun too! https://t.co/Kcs5ibqbwa
โก๏ธ Database Tip
Sometimes you want to get e.g. the last three orders for *every* customer. Normal joins can't do that. You have to execute n+1 queries in code, which is slow!
But with lateral joins, you can do one for-each loop join in SQL ๐คฏ
https://t.co/pYx4TlWyaU