Karolis Ščerbiakas

Karolis Ščerbiakas

NestJs validation constraints

If you've coming from Laravel, you're probably used to simple validation rules that ease developers life with confirmed rule. On NestJs there is no such rules. On top of

Laravel Valet 504 Gateway Time-Out

I recenly started gettting 504 from Laravel app using valet had some issues while debugging it. Basically it boils down to NGINX. Go to ~/.config/Valet/nginx/Sites Add these values to your

PHP find array key recursively

Today I had an issue where I needed to find a key in multidimensional array. It took trial and error ant some googling around, but this is what I found. <php function