Laravel Pro Tips
#accessors #datetime
🔥 In your Laravel apps, you can sometimes use DATETIME fields instead of booleans. By doing this, you can still check for boolean values (using an accessor) and get to store extra datetime information that might be useful in your app later. #laravel #php
Ash Allen 🚀
#eloquent #datetime
Laravel tip: Use the "{action}_at" naming convention for your DATETIME and TIMESTAMP fields. This helps you to instantly recognise in your code when you're using a datetime field 😄 #laravel #php
May 3rd, 2022
#directives #http #datetime #factories #booleans
20 Useful Laravel Tips
Read 20 useful tips that you can use in your Laravel projects. These tips have been built using my best-performing tweets on Twitter and cover databases, standards, testing, Artisan commands, and much more.