…
IIRC if you are using `LexikJWTAuthenticationBundle` it already stores the user info in symfony security system, so it can be easily accessed from anywhere, all you need is ~~love~~ autowire `Security` class from Security bundle and use `$this->security->getUser()` method to get current authenticated…
…meant, I have read this tutorial and the doctrine documentation about it, there was some differences and I was unable to understand what the *rector.php* file is and where to put it. So I mixed your documentation and try something and it worked, so…
Hi guys!
I think I've missed something during the course: after adding #IsGranted attribute to the dashboard route it does not redirect me anywhere, just fails with "Full authentication is required to access this resource" exception.
Could you please point me to the place…
…this is also a good idea! When you finished the whole course - you will have a lot of ideas about what exactly and where you could apply in your own project, so it's not the perfect user experience we would like our customers to…
HI Victor
The images in the start folder are hashed, so that is their name. I only removed the hash to test what could be found and where from. I'm using the command symfony server:start -d mostly, sometimes symfony serve -d. This is…
…https://symfonycasts.com/screencast/symfony5-fundamentals/markdown-bundle#comment-5910253934 - but let me know if that helps. Btw, the MarkdownParserInterface was specifically form KnpMarkdownBundle. So you WILL need to update anywhere in your code to whatever new interface that we manage to make autowireable :).
Cheers!
Hey J-D!
Sorry for the slow reply :). It's not really covered anywhere here... because it entirely depends on what your frontend is built in. But, it looks like you've got your solution anyways! The key, as you found is to (somehow) have…
…understanding some of the concepts but it seems quite out of date now. There doesn't seem to be anywhere else that provides a tutorial on how to integrate stripe with Symfony 5. It's frustrating trying to figure out what goes where in which…
Hey Victor, thank you! But where could I call this method? Because in anywhere I'm calling the create() method. It's part of the configuration. I couldn't find in the Api Platform docs where to change this. I searched too in the Doctrine…
…probably missed something in config. On simple POST operation got an error message:
`
"@context": "/api/contexts/Error",
"@type": "hydra:Error",
"hydra:title": "An error occurred",
"hydra:description": "Format 'jsonld' not supported, handler must be implemented",
`
And can't find how to implement handler and where :(
…tutorials, they saved me!!
i'm facing a problem and i cannot find the solution anywhere.Just because i wanted to have the buttons save, back and delete in the same row, i'm now trying to get the delete method in the edit form…
…sure if I fully understand your question, but let me try to answer and you can tell me if I’ve misunderstood :).
So, if you throw an exception from anywhere in your app, it triggers a process in symfony. Part of that process is that…
Yes yes. That's what I expected. Cristal clear. The Security component wants a User and with "stateless", user lives in memory and is not persisted anywhere. Thanks for clarifications.
It seems I can't because the bin/console now has hardcoded references to dotenv... I'll leave it even if the variables inside the .env are not used anywhere
Hey @Алексей Хромец!
> You said that you will explain this later, but I can't see this anywhere
Yea, sorry about that! This really became a "we'll talk about this in a future tutorial" but that tutorial hasn't happened yet :p.
>…
Hi MolloKhan,
If I do a project search for "SYMFONY_DECRYPTION_SECRET" within PhpStorm, it only find references in the cache...
This env is not set anywhere in my project, and I have generated a config/secrets/prod/prod.decrypt.private.php (that's how…
Hey picks!
Hmm. I don't see `SYMFONY_DECRYPTION_SECRET` anywhere in these files? Where/how are you setting this?
To give you a bit more context, the default value of the "decryption environment value" is `base64:default::SYMFONY_DECRYPTION_SECRET`. What I mean is…
… I know already the Symfony4 tutorial about forms that you mention, but I was wondering if and where there is a part in it about specifically "embedding forms", which was available in the Symfony3 tutorial.
I am learning now how to use Symfony and find…
I appreciate you taking your time for a lengthy answer like this, I really do. Since I'm at my own, there's no confirmation coming from anywhere, that I'm doing things "right" or "wrong".
> So, "learning by studying" and "learning through practice"…
these * .yaml configs for services we configured looks to me too complicated, cause I can't find a kinda common pattern and where to use/provide the properties we made. I hope someday it will change
x
511