Explore Code Tips

Discover and learn from the community's code snippets

LG

Laravel Contextual Binding in Service Container

lauroguedesDec 8, 2025
PHP
77
0
0
LG

Laravel 12.40.0 - daysOfMonth() Scheduling Method

lauroguedesDec 8, 2025
PHP
28
0
0
LG

Faker - bothify() Method

lauroguedesDec 8, 2025
PHP
42
0
0
LG

Laravel Contextual Binding - Different Implementations per Context

lauroguedesNov 8, 2025
PHP
85
0
1
LG

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

lauroguedesNov 5, 2025
PHP
147
0
1
MS

💡 Advanced Laravel Tip: Conditional withCount() with Aliases

mohamed.slman72Nov 4, 2025
PHP
14
1
1
LG

Prevent Real HTTP Requests in Tests

lauroguedesOct 31, 2025
PHP
53
0
0
LG

PHP 8.5 Closures in Constant Expressions

lauroguedesOct 26, 2025
PHP
155
0
1
LG

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

lauroguedesOct 19, 2025
PHP
57
0
0
LG

Laravel Config Type-Safe Retrieval Methods

lauroguedesOct 18, 2025
PHP
175
0
1
LG

Laravel password hashing best practice

lauroguedesOct 13, 2025
PHP
157
0
1
LG

Fixing the Inertia JS 502 Bad Gateway error in production

lauroguedesOct 12, 2025
NGINX
47
0
1
DJ

Nullsafe Operator in PHP/Laravel

divyaklyOct 8, 2025
PHP
48
1
1
LG

Essential Carbon Date/Time Methods in PHP

lauroguedesOct 5, 2025
PHP
62
1
1