1545 search results for symfony bundle

Integrating FOSJsRoutingBundle

... about - there are only two script tags left. These give us the Router variable and they come from FOSJsRoutingBundle: a really cool bundle that allows you to generate URLs from Symfony routes in JavaScript. Our goal is ...

4:31
... Symfony 4 since now you need to create a bundle only when you want to share your code. But I think it'd would be useful to have such tool - it'd prevent simple misprints and save some time. Well, you can track the ...
... ] but it does not match the constraint. Problem 3 - symfony/framework-bundle[v6.0.0, ..., v6.0.7] require composer-runtime-api >=2.1 -> found composer-runtime-api[2.0.0] but it does not match the constraint ...
Override all the Templates

... at these a bit earlier. Let's dive back into vendor/easycorp/easyadmin-bundle/src/Resources/views/. There's a lot of good stuff here, like layout.html.twig. This is the base layout file for every page. A few minutes ago ...

6:47
Pagination with Pagerfanta

... pagination links. Doctrine does come with tools for pagination... but they're a little "low level". Fortunately, the Symfony ecosystem has two libraries that build on top of Doctrine's tools to make pagination a pleasure ...

6:20
Twig

Now for the absolutely hardest part of Symfony. I'm kidding! We're talking about templates: those files where we mix HTML tags and dynamic data to build our page. We already saw that these are rendered using the ...

6:27
Downloading Configuration

... rm -rf src/Acme Next, take out the reference to the bundle in your AppKernel so Symfony doesn't look for it when it's loading: Finally, get rid of the _acme_demo route import in the ...

10:02
... Error " Variable "form" does not exist in security\login.html.twig at line 11" Controller Security namespace Admin\AdminBundle\Controller; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Admin ...
Andrey  Dvortsevoy
Andrey Dvortsevoy
Read Full Comment
... FormLoginAuthenticator extends AbstractGuardAuthenticator { The methods implemented } SecurityController: namespace Arably\RestBundle\Controller; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; use Symfony ...
FODHIL ASMA
FODHIL ASMA
Read Full Comment
So The big question how do you create a shareable bundle in symfony 4 ? ...
Hi Ryan! Is that possible to use the bundle with symfony 4? ...
The bundle introduced here is not available for Symfony 3.x, is it? ...
Pascal Q (pascal.)
Pascal Q (pascal.)
Read Full Comment
Hi All, For me without `import { startStimulusApp } from '@symfony/stimulus-bundle';` i'll have error :) ...
How can I Unit Test the API in a stand alone Symfony Bundle? ...
M_Holstein
M_Holstein
Read Full Comment
I have completed this course. Security bundle is really awesome. Thanks symfony cast. ...
Hi! will symfony cast ever tackle about mercure bundle? and when? ...
skyCatalysm
skyCatalysm
Read Full Comment
hello can i use with FOSUserBundle and the bundle is it compatible with symfony 4.2 thanks. ...
benjamin rideveau
benjamin rideveau
Read Full Comment
55 lines | app/AppKernel.php
// ... lines 1 - 5
class AppKernel extends Kernel
{
public function registerBundles()
{
$bundles = array(
// ... lines 11 - 14
//new Symfony\Bundle\SwiftmailerBundle\SwiftmailerBundle(),
// ... lines 16 - 22
);
// ... lines 24 - 32
}
// ... lines 34 - 53
}
See Code Block in Script
// ... lines 1 - 2
namespace AppBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
class MainController extends Controller
{
// ... lines 9 - 12
}
See Code Block in Script
39 lines | src/Controller/PartialController.php
// ... lines 1 - 4
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
class PartialController extends AbstractController
{
public function trendingQuotes()
{
// ... lines 11 - 15
}
// ... lines 17 - 37
}
See Code Block in Script