1545 search results for symfony bundle

... ldap_module and authnz_ldap_module. - I also have http2 protocol working. - We have ssl working - installed ldap: "symfony/ldap": "5.1.*", - security bundle: "symfony/security-bundle": "^5.1", Also created a virtual host on ...
I have done all that the tutorial have said but when we try to add the twig extension , it gives error . The error is as below : PHP Fatal error: Uncaught Symfony\Component\DependencyInjection\Exception ...
Eni Shima
Eni Shima
Read Full Comment
... \DataCollector\EventDataCollector data_collector.router @WebProfiler/Collector/router.html.twig router 285 Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector data_collector.cache ...
Dzosef Dzozefiński
Dzosef Dzozefiński
Read Full Comment
Hello !! ..While trying to upgrade my project from symfony 4.2 to symfony 5 I couldn't update recipes for exple when I run composer recipes:install "symfony/twig-bundle" --force -v I got the error: [Symfony ...
... /var/www/project/releases/20180123144814Z/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php(448): AppKernel->registerBundles() In deploy.yml I set ``` environment ...
... Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\Response; use Symfony\Component\Routing\Attribute\Route; #[Route('/api/starships')] class StarshipApiController ...
Krishnadas-Pc
Krishnadas-Pc
Read Full Comment
... /584c21016582108e993857cfc0919adc61b468b8/src/Symfony/Bundle/FrameworkBundle/Test/KernelTestCase.php#L111-L136 - so you should be able to add some debug statements to figure out why it thinks the environment should be `dev`. I've seen people have ...
weaverryan
weaverryan
Read Full Comment
thanks a lot, I am not sure about the real root cause, but I tried this fix multiple times until it worked, after executing ``` symfony console doctrine:database:drop --force symfony console ...
Hey Tom, This is the latest version of the EasyAdmin tutorial. Yeah, in Symfony 6.2 the PHP attributes like `#[IsGranted('ROLE_ADMIN')]` you mentioned should work out of the box now, so you don't need to install that ...
Hey Samuel, I would not suggest to disallow the bundle. To check - you can take a look at your composer.json file, in particular "config.allow-plugins" option. There should be "symfony/flex": true". If it's false, then ...
... /blob/38cd068a35005bbb8fc2db9bf6f7816b67e92d95/src/Symfony/Component/HttpKernel/Kernel.php#L666-L679 As you can see, the "extension" class is called first on each bundle and *then* the build() method. But that doesn't make ...
weaverryan
weaverryan
Read Full Comment
... depends on which Symfony version you are, but in newer versions of Symfony it's recommended to use MakerBundle. With this bundle, you can generate code for Doctrine entity via "bin/console make:entity" call and it create a repository for it by default. Cheers!
... definitely with PhpStorm and you're doing good things by Invalidation the cache. I would also try to browser directly to the path - in vendor/symfony/symfony/src/Symfony/Bundle to see if the file is there. You can right ...
weaverryan
weaverryan
Read Full Comment
... /api-platform/core/src/Bridge/Symfony/Bundle/Test/ApiTestCase.php:62 /var/www/html/tests/Functional/CheeseListingResourceTest.php:16 ERRORS! Tests: 1, Assertions: 0, Errors: 1. I checked the framework.yaml and the test variable is true Could you help me to resolve it? Thanks a lot
Gaetano S.
Gaetano S.
Read Full Comment
... /Mapping/AbstractClassMetadataFactory.php:183 {▶} /var/www/symfony/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:283 {▶} /var/www/symfony/vendor/doctrine/doctrine-bundle/Repository/ServiceEntityRepository.php ...
Migrating Encore AssetMapper

... and close that tab. We do not need a build system - so that second tab is not coming back. Then run: composer remove symfony/webpack-encore-bundle This will remove that package ...

3:31
Prepending Config

... at the bottom? This is due to how Symfony loads config: it loads bundle config first - like from the Contentful package or Layouts - and then loads our configuration files. And, that's usually the order we want! It ...

3:55
Creating a Service

... the class. Thanks! Unlike controllers, this class has nothing to do with Symfony... it's just a class we are creating for our own purposes. And so, it doesn't need to extend a base class or implement an interface: this ...

5:03
parameters.yml kernel.root_dir

... Symfony and are some of the most useful parameters. Notice kernel.debug - whether or not we're in debug mode - and kernel.environment. But the best ones to know about are kernel.cache_dir - where Symfony stores its cache ...

4:48
Blog
Introducing Guard Symfony Security with a Smile

... authentication. This is how you login: maybe with a form or via OAuth, like Facebook login. This part is probably the single worst part of Symfony. It's over-engineered, hard to customize and no fun to work with. Examples ...