1545 search results for symfony bundle

83 lines | src/Controller/RegistrationController.php
// ... lines 1 - 6
use App\Repository\UserRepository;
// ... line 8
use Symfony\Component\HttpFoundation\Request;
// ... lines 10 - 13
use SymfonyCasts\Bundle\VerifyEmail\VerifyEmailHelperInterface;
class RegistrationController extends AbstractController
{
// ... lines 18 - 60
public function verifyUserEmail(Request $request, VerifyEmailHelperInterface $verifyEmailHelper, UserRepository $userRepository): Response
{
// ... lines 63 - 80
}
}
See Code Block in Script
... Package sensio/framework-extra-bundle is abandoned, you should avoid using it. Use Symfony instead. ... - WARNING netgen/content-browser (>=1.0): From github.com/symfony/recipes-contrib:main The recipe for this ...
Hey julien_bonnier! > Full disclosure I might be a little OCD and I HATE deprecation warnings. So... I tried to make the bundle as backward compatible as possible using Symfony 4.4. Ha! No problem. Actually, you ...
weaverryan
weaverryan
Read Full Comment
... check into this. If you happen to use Symfony, there is a bundle that helps with this: https://github.com/nelmio/NelmioCorsBundle. And if not, the bundle may still be instructive. Cheers!
weaverryan
weaverryan
Read Full Comment
... (type: 'string', length: 255)] private ?string $title = null; ``` Maker Bundle version: "symfony/maker-bundle": "1.43" Thanks in advance!
RafaelBraga
RafaelBraga
Read Full Comment
... the docs, you can do it via Symfony configuration: ```yaml # config/packages/zenstruck_foundry.yaml when@dev: # see Bundle Configuration section about sharing this in the test environment zenstruck_foundry: faker: locale: fr_FR # set the locale ``` I hope this helps! Cheers!
... this has been removed since long time. I did not find what has replaced it. I am on symfony 5.3 with "oneup/flysystem-bundle" v4.4.1 and "liip/imagine-bundle" v2.7.6 Thx! ...
Running Symfony 6. After requiring profiler with composer, the web debug toolbar does not appear. It is listed as web-profiler-bundle and debug-bundle rather than package as the tooltip suggested. The dump command works ...
Frédéric H.
Frédéric H.
Read Full Comment
Great couple of tutorials. Good job fixing the vimeo streaming issue btw! The only thing stopping me from migrating my existing app to Vue is that I don't know how to integrate the symfony translation bundles. I am ...
escobarcampos
escobarcampos
Read Full Comment
Thanks for this great insight on Symfony bundles! Really enjoying the course so far. I have a question. I tried to install the local bundle via composer and it works but... flex doesn't seem to enable the bundle at all ...
FranksPress
FranksPress
Read Full Comment
Regarding same error ("Could not find any fixture services to load") when you use Symfony 3.4: to solve it, you just need to have the fixtures class extend the Doctrine\Bundle\FixturesBundle\Fixture class instead of ...
Victor N.
Victor N.
Read Full Comment
Hey Iordanis G. , Good question! Currently it's impossible to do in one command run, you can find some related comments in MakerBundle: https://github.com/symfony/maker-bundle/issues/87#issuecomment-410609573 . So, you ...
Twig Templates

... status We see the usual composer.json, composer.lock and symfony.lock. But for the first time, we also see a modification to config/bundles.php. A bundle is a PHP package that integrates with Symfony... it's basically a ...

8:12
Admin Dashboard

... itself and registered its bundle. So simply installing the bundle didn't give us any new routes or pages. For example, if I try to go to /admin, we see "Route Not Found." That's because the first step after installing ...

7:31
... symfony.lock file. For contrast, there is an example of a recipe that is different for different versions: https://github.com/symfony/recipes/tree/master/symfony/debug-bundle. In that case, if you installed symfony/debug ...
weaverryan
weaverryan
Read Full Comment
... /doctrine-bundle ### database: image: postgres:${POSTGRES_VERSION:-13}-alpine environment: POSTGRES_DB: ${POSTGRES_DB:-app} # You should definitely change the password in production ...
... range from the specified version to the latest version, that's why the 2nd command works. In shorts, the 2.5 branch of lexik/jwt-authentication-bundle was bumped to support Symfony 3.4+ only, but we we're on 3.0 in this ...
... thrown during the rendering of a template ("The Turbo stream transport "default" doesn't exist."). What version of `symfony/mecure-bundle` do you have (try `composer show symfony/mercure-bundle`)? The missing ...
weaverryan
weaverryan
Read Full Comment
How do I know which one to use in this case? (it was the Symfony\Bundle\FrameworkBundle\Routing\Router ) Autowiring services based on the types they implement is deprecated since Symfony 3.3 and won't be supported in ...
Trafficmanagertech
Trafficmanagertech
Read Full Comment
... second one is the one that works, could somone explain? -----edit----- sometimes it's the other way: use Symfony\Component\HttpKernel\Tests\Controller; use Symfony\Bundle\FrameworkBundle\Controller\Controller; symfony gave me the first, but the second one works
Konrad Zając
Konrad Zając
Read Full Comment