Explore Code Tips

Discover and learn from the community's code snippets

LG

Laravel Contextual Binding in Service Container

lauroguedesDec 8, 2025
PHP
42
0
0
LG

Laravel 12.40.0 - daysOfMonth() Scheduling Method

lauroguedesDec 8, 2025
PHP
19
0
0
LG

Faker - bothify() Method

lauroguedesDec 8, 2025
PHP
35
0
0
LG

Laravel Contextual Binding - Different Implementations per Context

lauroguedesNov 8, 2025
PHP
66
0
1
LG

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

lauroguedesNov 5, 2025
PHP
99
0
1
MS

💡 Advanced Laravel Tip: Conditional withCount() with Aliases

mohamed.slman72Nov 4, 2025
PHP
12
1
1
LG

Prevent Real HTTP Requests in Tests

lauroguedesOct 31, 2025
PHP
36
0
0
LG

PHP 8.5 Closures in Constant Expressions

lauroguedesOct 26, 2025
PHP
106
0
1
LG

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

lauroguedesOct 19, 2025
PHP
47
0
0
LG

Laravel Config Type-Safe Retrieval Methods

lauroguedesOct 18, 2025
PHP
106
0
1
LG

Laravel password hashing best practice

lauroguedesOct 13, 2025
PHP
90
0
1
LG

Fixing the Inertia JS 502 Bad Gateway error in production

lauroguedesOct 12, 2025
NGINX
38
0
1
DJ

Nullsafe Operator in PHP/Laravel

divyaklyOct 8, 2025
PHP
22
1
1
LG

Essential Carbon Date/Time Methods in PHP

lauroguedesOct 5, 2025
PHP
51
1
1