PHP code example of omegacode / symfony-fluid-integration
1. Go to this page and download the library: Download omegacode/symfony-fluid-integration 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/ */
omegacode / symfony-fluid-integration example snippets
return [
...
OmegaCode\FluidIntegration\OmegaCodeFluidIntegrationBundle::class => ['all' => true],
...
];
class DemoController extends \Symfony\Bundle\FrameworkBundle\Controller\AbstractController
{
public function indexAction()
{
return $this->render('demo/index.html', [
'var' => 'val'
]);
}
}