1545 search results for symfony bundle

Making Fixtures Awesome with Alice

... I hate writing fixtures because I use this bundle (DoctrineFixturesBundle) and it's boring and manual and you end up building really big ugly fixture classes: The reason is that this library just doesn't do anything for ...

12:23
... relevant. The more important to know which version are used in the course, and that's why we implemented a nice feature where you can click on main dependency name, e.g. on "Symfony 5.0" button on this course: https ...
... this is basically what autowiring is doing normally in this case. So, you're doing it manually. For others, there is a larger conversation about this over here: https://symfonycasts.com/screencast/symfony-bundle ...
weaverryan
weaverryan
Read Full Comment
Hello! I am not sure this is the right place to ask this question but as it's about secure access, I think this is not the worst place :) One of my customer sent me a bundle of files that should be accessed in a secure ...
... be used in any Symfony app), the "kernel" that you're creating is very small - you usually are booting just a few bundles that your bundle depends on - for example - https://github.com/symfony/webpack-encore-bundle/blob ...
weaverryan
weaverryan
Read Full Comment
Any idea about this error: Fatal error: Uncaught Symfony\Component\DependencyInjection\Exception\AutowiringFailedException: Cannot autowire service "AppBundle\Service\MarkdownTransformer": argument "$markdownParser" of ...
Praxitelis Kourtellos
Praxitelis Kourtellos
Read Full Comment
... /doctrine-bundle/Mapping/MappingDriver.php(29): Doctrine\Persistence\Mapping\Driver\MappingDriverChain->getAllClassNames() #3 /home/gary/Projects/Symfony/climate_overflow/vendor/doctrine/persistence/src/Persistence/Mapping ...
Customize The 2-Factor Auth Form

... for this bundle: symfony console debug:config... and then, find the config file, copy the root key - scheb_two_factor - and paste. Awesome! We see security_tokens with UsernamePasswordToken... that's no surprise because ...

5:53
How the HTML Error Page is Rendered

... that bundle. This is normally used as a way for a bundle to render a template inside itself. But Symfony also registers an override path for every bundle namespace. When you say @Twig/Exception/error404.html.twig, Twig ...

7:34
Using a shortcut Base Controller Class

... /Controller.php namespace Yoda\EventBundle\Controller; use Symfony\Bundle\FrameworkBundle\Controller\Controller as BaseController; class Controller extends BaseController { } Inside this class, create a function that ...

2:30
... from-a-dev/flowbite-bundle/blob/main/docs/index.md#installation). So if you are using that bundle, like this course does, I would highly recommend Flowbite. The link above links to the install instructions for Symfony ...
... - e.g. the `assets/controllers.json` file and `assets/bootstrap.js` file. Do you have these? My guess is you don't, and that's ok! Try running: ``` composer require symfony/stimulus-bundle ``` That will install the ...
weaverryan
weaverryan
Read Full Comment
... literally every valid key that is allowed - https://github.com/symfony/swiftmailer-bundle/blob/master/DependencyInjection/Configuration.php. However, this `ssl` key is a bit special - you're allowed to pass *any* array with *any ...
weaverryan
weaverryan
Read Full Comment
Hey cybernet2u Nice to see you again :) You can use a serializer third party library like "jms/serializer-bundle", you can watch Ryan using it in this chapter https://knpuniversity.com/screencast/symfony-rest ...
MolloKhan
MolloKhan
Read Full Comment
... BTW, If you want to use it in Symfony projects, better use a DebugBundle instead, it's a bundle for varDumper component which already has integrations for WebDebugToolbar and Twig. But Symfony 3 already has it out-of-the-box, you can just use it from the start. Cheers!
... is my controller code: namespace AppBundle\Controller; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; use Symfony\Component\HttpFoundation\Response; * @Route("/genus/{genusName ...
Hello! Many thanks! I followed the steps but on Symfony 6 but it doesn't work, nothing happens after submitting the form. I can see the updated database but can't send or receive emails! Here is my steps: .env ...
... have some config - probably in `config/packages/test/framework.yaml` that looks like this: https://github.com/symfony/recipes/blob/master/symfony/framework-bundle/4.4/config/packages/test/framework.yaml - I would check ...
weaverryan
weaverryan
Read Full Comment
Hey, there thank you so mush for this tutorial, I have a small question, Imagine that we need to create a reusable bundle that should work for both symfony ^3.0||^4.0||^5.0 how we should manage this via github. How ...
... kernel/EventListener/RouterListener.php line 136 So and additional deprecation error on test execute: 1x: Since symfony/framework-bundle 5.1: Not setting the "framework.router.utf8" configuration option is deprecated, it will default to "true" in version 6.0.