1534 search results for symfony bundle

... NativeLoader i used my NewNativeLoader. Code looks like this: ``` namespace AppBundle\DataFixtures\ORM; use Doctrine\Bundle\FixturesBundle\Fixture; use Doctrine\Common\Persistence\ObjectManager; class LoadFixtures extends ...
Maciek Kasprzak
Maciek Kasprzak
Read Full Comment
... ``` namespace App\Controller; ... use EasyCorp\Bundle\EasyAdminBundle\Controller\AdminController as BaseAdminController; class AdminCandidatureController extends BaseAdminController { public function listAction ...
... "HiddenEntityId" field doesn't exist in Symfony (though it's been proposed). But, you can add a custom field pretty easily - here's a bundle that has one (you can use this or use it as inspiration): https://github.com ...
weaverryan
weaverryan
Read Full Comment
... incorporate it into the axios request data (to the PHP server). Yep, that is basically correct :). Here is a bundle that does this in Symfony: https://github.com/dunglas/DunglasAngularCsrfBundle Two notes about that bundle ...
weaverryan
weaverryan
Read Full Comment
... be merged twice ? if you decided to manage your bundle with different maintained branches - then I suppose yes :) Well, it depends as always, you may have follow the Symfony strategy, when they merge bug fixes to the ...
... (true)` I believe is redundant because it's already activated via your prod config - https://github.com/symfony/recipes/blob/230169dc8a6ab89be7473fbb6a823f2336caa72b/doctrine/doctrine-bundle/1.6/config/packages/prod ...
weaverryan
weaverryan
Read Full Comment
... "it's too new". Because in fact you absolutely can do a tutorial on sf5.1 now that is backward compatible with sf4.1 for example ! So ultimately, you don't really say: "this tutorial was recorded on symfony 2.2 but it ...
Assets Custom CSS and JS

... to do with EasyAdmin or Symfony. In CSS, you can create variables (called "CSS properties") and reference them somewhere else. EasyAdmin, apparently, created a --sidebar-bg variable and is referencing it here. So, instead ...

8:17
... your custom normalizer is deprecated since Symfony 6.1. Implement the NormalizerAwareInterface and use the NormalizerAwareTrait instead to inject the $normalizer property. So even the maker-bundle (Which I might not ...
Joris-Mak
Joris-Mak
Read Full Comment
... https://github.com/symfony/recipes/blob/96d11c2e2ed2a33a796740ed47de0d6d25263fe8/symfony/monolog-bundle/3.7/config/packages/monolog.yaml#L40-L61 In theory, EVERY log message should be passed to EVERY handler you have ...
weaverryan
weaverryan
Read Full Comment
... you're already authenticated). The Guard system is an easy way for you to add this code: create one class, fill in a few methods, and BAM! You've got an authentication system that you fully control. The lexik auth bundle ...
weaverryan
weaverryan
Read Full Comment
... make sure that you do NOT have the `defer` attribute on the `script` tags for now. So, set this to false: https://github.com/symfony/recipes/blob/e81834cbeace01f50e7da5b0db17d60a85209a22/symfony/webpack-encore-bundle ...
weaverryan
weaverryan
Read Full Comment
Webpack Encore Tips Tricks Questions Best Practices

... So, introducing the newest bundle in the Symfony family, WebpackEncoreBundle. Amazing! Amazing! Wow. Probably the smallest bundle in all of the Symfony ecosystem. It gives you two Twig functions and that's it. It's super ...

50:45
... ! Now, I have issues with the Symfony CLI Server, but, I'm used to these issues, and I used another Webserver, or the web-server bundle in those cases, as I from time to time can't use the Symfony CLI Server, it just ...