Explore Code Tips

Discover and learn from the community's code snippets

LG

Laravel Contextual Binding - Different Implementations per Context

lauroguedesNov 8, 2025
PHP
59
0
1
LG

Laravel whereKeyNot() - Better Than where('id', '!=')

lauroguedesNov 5, 2025
PHP
70
0
1
MS

💡 Advanced Laravel Tip: Conditional withCount() with Aliases

mohamed.slman72Nov 4, 2025
PHP
10
1
1
LG

Prevent Real HTTP Requests in Tests

lauroguedesOct 31, 2025
PHP
34
0
0
LG

PHP 8.5 Closures in Constant Expressions

lauroguedesOct 26, 2025
PHP
86
0
1
LG

Laravel Number::abbreviate() for Human-Readable Numbers

lauroguedesOct 19, 2025
PHP
46
0
0
LG

Laravel Config Type-Safe Retrieval Methods

lauroguedesOct 18, 2025
PHP
81
0
1
LG

Laravel password hashing best practice

lauroguedesOct 13, 2025
PHP
79
0
1
LG

Fixing the Inertia JS 502 Bad Gateway error in production

lauroguedesOct 12, 2025
NGINX
36
0
1
DJ

Nullsafe Operator in PHP/Laravel

divyaklyOct 8, 2025
PHP
18
1
1
LG

Essential Carbon Date/Time Methods in PHP

lauroguedesOct 5, 2025
PHP
49
1
1