... I've reinstalled symfony/stimulus-bundle, same issue.
I do have webpack encore installed, though -- could there be a conflict? Can both be used simultaneously?
{% block stylesheets %}
{{ encore_entry_link_tags('app') }}
{{ ux_controller_link_tags() }}
{% endblock %}
Hi, it would be interesting to understand how to manage a custom bundle with symfony 6.x for medium and large sized projects it is convenient for organizing the code, because many things seem to have changed, thanks ...
Hey @Arnaud-G,
Yeah you are totally right, however to follow course we recommend to install `symfony/webpack-encore-bundle:1.14` with version constraint.
anyway thanks for the tip ;)
Cheers! ...
Hello, I had the same problem and when I ran composer up symfony/framework-bundle I have this new error :
Attempted to load class "Locale" from the global namespace.
Did you forget a "use" statement? ...
By the way the implementation suggested here :
https://github.com/symfony/maker-bundle/issues/1252
by mtarld , with `calls` and `setNormalizer` does not work for me. I get a 502 error. ...
Hey
Yeah you can pass an array of controllers to `{{ stimulus_controller() }}` however it's deprecated from `symfony/webpack-encore-bundle:1.15.0`
New way was introduced `|stimulus_controller()` filter... so new code will look:
```
```
Cheers! ...
Hey Mattias,
Ah, yes, I was mention the Symfony\Bundle\FrameworkBundle\Controller\AbstractController - this one should have that isGranted() method. Otherwise, using a special service for this is fine, it's up to you!
Cheers! ...
... I'm likely using the wrong version of something (PHPUnit?), as I'm getting tripped up on self::$container. Sigh. And $client. What is the correct base class for the tests? I tried use ApiPlatform\Core\Bridge\Symfony\Bundle\Test\ApiTestCase;
Can you give more insight on how you would have disallowed the Symfony Flex Plugin? and making sure things are registering automatically? I also had to register the bundle manually for it to work. ...
Yep, this is my bad. Well, once 5.3.1 came out, we needed to merge and tag this PR- https://github.com/symfony/maker-bundle/pull/890
That's my job - I've been really busy, but it will happen soon!
Cheers! ...
Hey julien_bonnier
Just wanted to say that your report helped to fix maker-bundle, so WOOHOO it's working now!!!
PS It also helped to find another bug in symfony ;)
Cheers! Have a nice day! ...
I run
git init
git satus
modified: composer.json
modified: composer.lock
modified: config/bundles.php
modified: symfony.lock
git add .
>composer recipes:install "symfony/twig-bundle" --force -v
Could not open input file: D:\doc\test\quick_tour\composer.phar ...
... I've build some pretty advanced applications in Symfony in the last 7 years, but it's fun to see that even beginners tutorials can teach me something. I didn't know about the debug-bundle until now!
Hey Kutay,
Unfortunately, there is no way to generate it with MakerBundle (yet), but but might happen in the future. Btw, here's the thread you might be interested in:
https://github.com/symfony/maker-bundle/issues/320
Cheers! ...
I am unable to generate Refresh Token while generating Token. Tried several ways but didn't work out. Is there any guide or tutorial where I can refer to for symfony 3.3 & 1.x Authentication Bundle ...
Just a little update: for the annotations the Symfony\Component\Routing\Annotation\Route class should be used, because the Sensio\Bundle\FrameworkExtraBundle\Configuration\Route class is depricated (since version 5.2 of the FrameworkExtraBundle package) ...
Hey Victor!
Uncommenting
auto_mapping:
App\Entity\: []
from validator.yaml enabled Automatic validation!!!
Github discussion say this caused issue with forms
https://github.com/symfony/maker-bundle/issues/412
Yet Automatic Validation works.
Thank you very much! ...
Hello,
I am getting this first error. I am trying to update my current symfony app 2.6 to 2.8 (dont judge me! lol)
> Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::buildBootstrap
Cannot load Zend OPcache - it was already loaded ...
Hey Рафаил Д.
There is no difference between both commands, it's just for convenience. If you want you can see where the idea came from :)
https://github.com/symfony/maker-bundle/issues/1
Cheers! ...
Hey Roman R.
You may find useful this new episode where Ryan implements a CompilerPass on Symfony4
https://symfonycasts.com/screencast/symfony-bundle/tags-compiler-pass
Or, you can read the docs here: https://symfony.com/doc/current/service_container/compiler_passes.html
Cheers! ...
1545
symfony bundle
Filter Results