PHP code example of arnauddelgerie / tfs-app-bundle
1. Go to this page and download the library: Download arnauddelgerie/tfs-app-bundle library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
arnauddelgerie / tfs-app-bundle example snippets
// src/Controller/HomeController.php
namespace App\Controller;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Attribute\Route;
class HomeController
{
#[Route('/')]
public function home(): Response
{
return new Response('It runs.');
}
}