1534 search results for symfony bundle
Learn Symfony 5
Contributing back to Symfony!
Coding a new Feature
Learn Symfony 2
How to Upgrade to Symfony 2.8, then 3.0!
... requires symfony/process at version 2.2. In normal English, Composer is saying: Yo! Your version of sensio/distribution-bundle in composer.json needs symfony/process 2.2. You probably need to upgrade the distribution bundle ...
Upgrading & What's New in Symfony 5!
... means that we need to upgrade it. Google for DoctrineBundle and find its GitHub page. If you did some digging, you'd learn that if you want Symfony 5 support, you need version 2 or higher of this bundle. There's also a ...
Starting in Symfony2: Course 2 (2.4+)
... namespace Yoda\UserBundle; use Symfony\Component\HttpKernel\Bundle\Bundle; class UserBundle extends Bundle { } Now, just activate it in the AppKernel class and, voila! Our brand new shiny bundle is ready: // app/AppKernel.php ...
Creating a Reusable (& Amazing) Symfony Bundle
... base class. One of the methods is called getContainerExtension(). When Symfony builds the container, it loops over all bundle classes and calls this method, which returns the extension object. Check out the ...
... want to initialize our bundle into a real app, and check that the container has that service. But... we do not have a Symfony app lying around! So... let's make the smallest possible Symfony app ever. To do this, we just ...
Starting in Symfony2: Course 1 (2.4+)
Bundles are a hipster buzzword in the Symfony world. Yea, they're cool but we really deserve all the credit! A bundle is just a place for us to put our hard-earned code. We might make an EventBundle directory for that ...
... of them - a few are not part of the main Symfony library, like monolog-bundle. But basically, everything that has 4.4.* now needs to be 5.0.*. We also need to update one more thing: the extra.symfony.require value: This ...
Learn to install, configure, and master the most important parts of FOSUserBundle in this screencast. FOSUserBundle is the most popular Symfony bundle, and with good reason. It comes packed with features for login ...
... stability alone and, for "Package Type" - this is important! - use symfony-bundle. That's needed so that Flex will automatically enable the bundle when it's installed. For License, I'll use MIT - but more on that later. And ...
Learn Symfony 6
AssetMapper: Modern JS with Zero Build System
... special integration with Stimulus. So instead, run: composer require symfony/stimulus-bundle StimulusBundle is a relatively new package that houses some Twig shortcuts that we'll use ...
Learn JS Frameworks & Tools
Symfony UX: Stimulus
... composer.lock, which is totally normal. And the PHP package we just installed is actually a Symfony bundle, so its Flex recipe auto-enabled that bundle in config/bundles.php and updated the symfony.lock file. But here's ...
Learn Symfony 3
Symfony 3 Fundamentals: Bundles, Configuration & Environments
... mystical creatures are providing us with all of these free tools? The answer is: the bundle fairies. In your IDE, open up app/AppKernel.php: The kernel is the heart of your Symfony application... but it really doesn't do ...
... we're going to create a bundle. Actually, the perfect solution would be to create a library with only the KnpUIpsum class, and then also a bundle that requires that library and adds the Symfony service configuration. A ...