Explore Code Tips

Discover and learn from the community's code snippets

LG

Laravel Contextual Binding - Different Implementations per Context

lauroguedesNov 8, 2025
PHP
1
0
1
LG

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

lauroguedesNov 5, 2025
PHP
1
0
1
MS

💡 Advanced Laravel Tip: Conditional withCount() with Aliases

mohamed.slman72Nov 4, 2025
PHP
0
0
0
LG

Prevent Real HTTP Requests in Tests

lauroguedesOct 31, 2025
PHP
2
0
0
LG

PHP 8.5 Closures in Constant Expressions

lauroguedesOct 26, 2025
PHP
42
0
1
LG

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

lauroguedesOct 19, 2025
PHP
37
0
0
LG

Laravel Config Type-Safe Retrieval Methods

lauroguedesOct 18, 2025
PHP
50
0
1
LG

Laravel password hashing best practice

lauroguedesOct 13, 2025
PHP
62
0
1
LG

Fixing the Inertia JS 502 Bad Gateway error in production

lauroguedesOct 12, 2025
NGINX
27
0
1
DJ

Nullsafe Operator in PHP/Laravel

divyaklyOct 8, 2025
PHP
12
1
1
LG

Essential Carbon Date/Time Methods in PHP

lauroguedesOct 5, 2025
PHP
40
1
1