Explore Code Tips

Discover and learn from the community's code snippets

LG

Laravel Contextual Binding in Service Container

lauroguedes•Dec 8, 2025
PHP
82
0
0
LG

Laravel 12.40.0 - daysOfMonth() Scheduling Method

lauroguedes•Dec 8, 2025
PHP
30
0
0
LG

Faker - bothify() Method

lauroguedes•Dec 8, 2025
PHP
44
0
0
LG

Laravel Contextual Binding - Different Implementations per Context

lauroguedes•Nov 8, 2025
PHP
93
0
1
LG

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

lauroguedes•Nov 5, 2025
PHP
154
0
1
MS

💡 Advanced Laravel Tip: Conditional withCount() with Aliases

mohamed.slman72•Nov 4, 2025
PHP
16
1
1
LG

Prevent Real HTTP Requests in Tests

lauroguedes•Oct 31, 2025
PHP
74
0
0
LG

PHP 8.5 Closures in Constant Expressions

lauroguedes•Oct 26, 2025
PHP
223
0
1
LG

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

lauroguedes•Oct 19, 2025
PHP
65
0
0
LG

Laravel Config Type-Safe Retrieval Methods

lauroguedes•Oct 18, 2025
PHP
251
0
1
LG

Laravel password hashing best practice

lauroguedes•Oct 13, 2025
PHP
180
0
1
LG

Fixing the Inertia JS 502 Bad Gateway error in production

lauroguedes•Oct 12, 2025
NGINX
54
0
1
DJ

Nullsafe Operator in PHP/Laravel

divyakly•Oct 8, 2025
PHP
61
1
1
LG

Essential Carbon Date/Time Methods in PHP

lauroguedes•Oct 5, 2025
PHP
69
1
1