|
// ... 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 ...
... 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!
... (type: 'string', length: 255)]
private ?string $title = null;
```
Maker Bundle version: "symfony/maker-bundle": "1.43"
Thanks in advance!
... 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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
... 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 ...
... /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 ...
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 ...
... 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
1545
symfony bundle
Filter Results