Search⌘ K
AI Features

Create a New Web Page

Explore how to create a new web page within a Symfony application by adding a PHP controller class. This lesson guides you through writing the necessary code, running the application, and testing the page to ensure it responds correctly. You will gain practical experience preparing your app for CI/CD deployment.

Now, let’s create a new web page in our Symfony application. We’ll use this page to test our CI/CD deployment pipelines.

Add code to the file

First, we need to create a new PHP controller class. In the widget below, open the ...