1545 search results for symfony bundle

... missing "serverVersion" configuration. This is normally (but not always) configured as a ?serverVersion= on the end of your DATABASE_URL - for example https://github.com/symfony/recipes/blob/a0d7f5a333679bfe3acfb01d985cf0c29dee81e8/doctrine/doctrine-bundle/2.4/manifest.json#L15 Cheers!
weaverryan
weaverryan
Read Full Comment
Hey Boolean! Your bundle is using Symfony 5.2 (phpunit-bridge and framework) and this course was developed under Symfony 4. The way to work with PHPUnit has changed so you will have to update the commands on your ...
MolloKhan
MolloKhan
Read Full Comment
... I'm using api-platform/core 2.5.6 and symfony/framework-bundle 5.0. It appears that the Symfony validators are firing based on the ORM definition of user before the data persister is used. The error I get when I ...
... you will have to add the configuration code that enables those features. You can find this info in the Symfony docs, you only have to find the topic you want to learn about. Another good place is at the Symfony Slack ...
MolloKhan
MolloKhan
Read Full Comment
1. While running test on Symfony 4.4 I'm getting a warning: Remaining indirect deprecation notices (1) 1x: Auto-injection of the container for "knpu_lorem_ipsum.ipsum_api_controller" is deprecated since Symfony 4.2 ...
Hi Ryan, I am using API Platform with LexikJWTAuthenticationBundle and Symfony 4.4. All works but I have no idea how to add some extra data to JWT. I have configured that bundle to return user email as ...
Krzysztof K.
Krzysztof K.
Read Full Comment
... kernel, completing already takes minutes. This makes me think of this issue https://github.com/symfony/symfony/issues/19834 Is there a way to either optimize by not creating a cache at all? Or a way to selectively rebuild only some parts of the cache? (In my case only the configuration of one bundle changes over tests).
... have one repository on github (https://github.com/petre-symfony/Rest-Symfony-With-Api-Platform-Bundle-Tested-With-Behat.git) where I have all the code. Here is one ancient course reworked on novel grounds. The last commit explained where the problem arise. We can download the code from there. Thank you.
Diaconescu
Diaconescu
Read Full Comment
... i'm sorry I am new with symfony but I’m sure that Doctrine migrations bundle is installed and everything was good until 14 - Registration Form. The whole message is: php ./bin/console make:migration Fatal error ...
Using the following seems to work: use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Symfony\Component\Security\Core\SecurityContext; class SecurityController extends Controller { public function ...
... ". But it may depend on your Symfony version. For older version you probably need to use this one: "Sensio\Bundle\FrameworkExtraBundle\Configuration\Route" - at least you can try to use this one, but not for the latest version. Cheers!
68 lines | config/services.yaml
// ... lines 1 - 6
services:
// ... lines 8 - 39
# add more service definitions when explicit configuration is needed
# please note that last definitions always *replace* previous ones
Knp\Bundle\MarkdownBundle\MarkdownParserInterface: '@markdown.parser'
Doctrine\ORM\EntityManager: '@doctrine.orm.default_entity_manager'
AppBundle\Service\MarkdownTransformer:
arguments:
$cacheDriver: '@doctrine_cache.providers.my_markdown_cache'
AppBundle\Doctrine\HashPasswordListener:
tags: [doctrine.event_subscriber]
AppBundle\Form\TypeExtension\HelpFormExtension:
tags:
- { name: form.type_extension, extended_type: Symfony\Component\Form\Extension\Core\Type\FormType }
AppBundle\Service\MessageManager:
arguments:
- ['You can do it!', 'Dude, sweet!', 'Woot!']
- ['We are *never* going to figure this out', 'Why even try again?', 'Facepalm']
AppBundle\EventSubscriber\AddNiceHeaderEventSubscriber:
arguments:
$showDiscouragingMessage: true
# example of adding aliases, if one does not exist
# Symfony\Component\Security\Guard\GuardAuthenticatorHandler: '@security.authentication.guard_handler'
See Code Block in Script
kernel.request and the RouterListener

... /appDevUrlMatcher.php // ... class appDevUrlMatcher extends Symfony\Bundle\FrameworkBundle\Routing\RedirectableUrlMatcher { } This is the end result of parsing through all of your routes, whether they’re written in annotations, YAML ...

9:48
Hello, Trying to setup the project I have this error on composer install : [Symfony ...
... /symfony/recipes/blob/8bd4f13853a211e36b75453b70a6356ee7c4daee/symfony/framework-bundle/4.2/public/index.php#L19 About getenv() - I don't remember for sure what's problem with it, but IIRC it's better to avoid using it ...
... surprisingly, I got the same error! In doubt I tried a `composer recipes` and... yes ! new update for `symfony/framework-bundle` Update...... and ``` - Configuring symfony/framework-bundle (>=5.1): From github.com/symfony ...
Installing Doctrine

Well hey friends! And bienvenidos to our tutorial about learning Spanish! What? That's next week? Doctrine? Ah: welcome to our tutorial all about making Symfony talk to a database... in English. We learned a ton in the ...

7:54
Hi Ryan, Question on loading custom bundles: I have a utilities bundle that does useful things like extend controllers and provide utility services that I previously managed via GIT submodule in symfony 2.8. This also ...
Hey Diego! Actually, this is a big topic and something that's been changing! Though you don't see it (yet) in the Symfony series, the recommendation now (unless you're building code to be shared between projects) is ...
weaverryan
weaverryan
Read Full Comment
Hey @Chtioui! No OAuth / social auth in the upcoming API Platform tutorials. If you want to allow your users to "log in" via some social service, I'd check out https://github.com/knpuniversity/oauth2-client-bundle. I ...
weaverryan
weaverryan
Read Full Comment