Carbon trick: set now() time to whatever you want
Quite often the logic of our applications rely on the current time. For example, if it's weekend, or if it's past midday or something. We usually use Carbon::now() to check the time - but what if…
Read the full articleYou might also wanna read
Understanding AWS Glue Data Catalog vs S3 Tables Through Direct Iceberg REST Catalog API Calls
dev.to·43m agoI Wish Someone Had Told Me This Before I Learned Python
Python in Plain English·46m ago
The AI Production Paradox: Why Debugging Silent Agent Failures Matters More Than Framework Fluency
undercodetesting.com·52m ago
Frappe Education: The Revolutionary Tool Every School Needs
BrightCoding·1h ago
Developer Tests OpenCV SFace Model for Face Recognition via Nearest Neighbor Search
ShortSingh·2h ago

Voi: The Revolutionary Self-Hosted Feedback Platform You Need
BrightCoding·2h ago

Comments
Sign in to join the conversation.
No comments yet. Be the first.