1545 search results for symfony bundle

... So, following our tutorial about creating reusable bundles: https://symfonycasts.com/screencast/symfony-bundle and the docs I linked above you should be able to create a bundle I think. If you get stuck somewhere on that tutorial - let us know in the comments below the video and we will try to help you. I hope this helps! Cheers!
... ): Extracting archive - Installing symfony/framework-bundle (v5.0.11): Extracting archive - Installing doctrine/annotations (1.12.1): Extracting archive - Installing sensio/framework-extra-bundle (v5.5.4 ...
Antonio P.
Antonio P.
Read Full Comment
I does *not* unfortunately. Drupal uses a lot of parts of Symfony, but the part that supports bundles is *not* one of those. However, typically, a good bundle is actually 2 pieces: a standalone PHP library and then a ...
weaverryan
weaverryan
Read Full Comment
adding `` to the configuration also appears to fix a "container not set" problem that appears in Symfony 5 when you move your controllers in chapter 13. That being said, I was given an example of a bundle that ...
... configured. Script Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache handling the symfony-scripts event terminated with an exception [RuntimeException] An error occurred when executing the ...
Yan patrick L.
Yan patrick L.
Read Full Comment
... templates/bundles/TwigBundle/ vendor/symfony/twig-bundle/Resources/views ...
Services The Backbone of Everything

... Let's talk about services. These are the most important concept in Symfony. And once you understand them, honestly, you'll be able to do anything. First, a service is an object that does work. That's it. For example, if ...

7:47
The Flex composer.json File

... here now. The symfony/framework-bundle package is the most important: this is the core of Symfony: it's really the only required package for a Symfony app. Go back and also copy the dotenv package from require-dev and put ...

4:18
Hey Monoranjan, Yeah, that's because your Symfony version is 5.1... you should upgrade it to 5.2 first and then you should be able to install that latest 1.6 version of stof/doctrine-extensions-bundle . For Symfony 5.1 ...
Hi, Firstly great tuturial ;) Secondly I did all the steps but I get "Attempted to load class "Controller" from namespace "Symfony\Component\HttpKernel\Tests". Did you forget a "use" statement for "Symfony\Bundle ...
Konrad Zając
Konrad Zając
Read Full Comment
its till not working, Please do have a look on code namespace App\Controller; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use ...
suleman khan
suleman khan
Read Full Comment
Hey Rashid, Hm, I only can think that you trying to use this "Symfony\Bundle\FrameworkBundle\Tests\Fixtures\Validation\Article" class somewhere in your code, see this reference: https://github.com/symfony/symfony/blob ...
JuanLuisGarciaBorrego
JuanLuisGarciaBorrego
Read Full Comment
14 lines | composer.json
{
"name": "knpuniversity/micro-symfony",
"require": {
"symfony/symfony": "^2.7",
"sensio/framework-extra-bundle": "^3.0"
},
// ... lines 7 - 12
}
See Code Block in Script
So, first i get this error: `! PHP Fatal error: Uncaught Symfony\Component\Debug\Exception\ClassNotFoundException: Attempted to load class "DoctrineCacheBundle" from namespace "Doctrine\Bundle\DoctrineCacheBundle ...
After following steps my homepage wont load ``` You cannot use the "render" method if the Twig Bundle is not available. Try running "composer require symfony/twig-bundle". ``` ...
Hi ! How do we manage assets in a Bundle ? Like if i'm writting a Symfony bundle, should I use Webpack Encore to manage my bundle's assets or no ? ...
Paul Requillart-Dole
Paul Requillart-Dole
Read Full Comment
Hey Dominik It's caused by outdated maker-bundle. I'll duplicate my recommendation to solve this issue ``` composer update symfony/maker-bundle ``` Cheers! ...
48 lines | app/LittleKernel.php
// ... lines 1 - 2
use Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle;
// ... lines 4 - 5
use Symfony\Bundle\TwigBundle\TwigBundle;
// ... lines 7 - 13
class LittleKernel extends Kernel
{
// ... lines 16 - 17
public function registerBundles()
{
return [
new FrameworkBundle(),
new TwigBundle(),
new SensioFrameworkExtraBundle()
];
}
// ... lines 26 - 46
}
See Code Block in Script
{
"name": "knpuniversity/lorem-ipsum-bundle",
"description": "Happy lorem ipsum",
"type": "symfony-bundle",
"license": "MIT",
"authors": [
{
"name": "Ryan Weaver",
"email": "ryan@knpuniversity.com"
}
],
"require": {}
}
See Code Block in Script
Hey Kribo , Ah, OK. Let ,e clarify some information for you. Symfony is mean to be bundle-less, i.e. you should avoid creating bundles in your application, just put everything in src/ dir. But bundles still make sense ...