laravel

2023


Building Laravel Container for Kubernetes

Deploying an application to modern cloud infrastructure like Kubernetes requires an application to be containerized. In this post, I will outline my approach how to containerize the Laravel application for deployment to the Kubernetes cluster. You can use this strategy for any PHP application you have on hand.
·5 mins

Nginx as Caching Proxy for Laravel

Caching is inevitable for higher traffic websites. Even if you are not planning to hit high numbers you would still think about caching to speed up the website and reduce load to web servers.
·2 mins

Going cookieless with Laravel

Laravel & Cookies, I bet you have it lying somewhere. But does it need to be like that? I mean do we have to use cookies? Yes, I know… It is enabled, by default. But. Really. Does every website needs them?
·2 mins

Laravel Sanctum custom token resolver

By default, Laravel Sanctum uses a bearer token to resolve authenticated users. But there is a way to modify this behavior by providing a custom callback for sanctum.
·1 min

2020