


Run the command below to get a local clone of it:įorward : - 8080 : 8080 reverse : - 9000 : 9000 Step 1: Deploy the PHP Sample Appįor this post, we'll be using a very simple PHP sample application. You will be able to take full advantage of the entire PHP toolkit (debuggers, dependency managers, test frameworks, etc.) while developing your application directly in your cluster. On this blog post, we will show you how Okteto improves the developer experience in Kubernetes for PHP developers. Okteto was created to solve this problem. When was the last time that you debug with an actual debugger, instead of adding echos everywhere in your code? This flow is not only slow and full of friction but it prevents us from benefiting from PHP's rich toolkit ecosystem. If you are building a cloud-based application at scale, running it in Kubernetes is a no-brainer: It's been adopted by the industry at an incredible rate, it has a wonderful community, and every single cloud vendor offers it as a service.īut the development experience available when building Kubernetes applications is less than ideal: write your code, build a Docker image, push it to the registry, redeploy, validate your changes and repeat.
