1536 search results for symfony bundle

Upgrading to Symfony 6.4

Hey everyone! Symfony 7 is out! Woo! Well, of course I'm excited - I love all things Symfony, Twig, related. But what does it really mean that Symfony 7 is out? Honestly... not much! Thanks to Symfony's release schedule ...

7:01
When I installed symfony, I got v7.0.7 that doesn't have `stimulus` (see comment from Arnaud-G). I tried `symfony/webpack-encore-bundle:1.14` but that required downgrading `symfony/config`, `symfony/dependency-injection ...
Hey Yaroslav, Ah, yes, now I see the problem. You're talking about *your* bundle, sure Flex does not know nothing about it except that it's a Symfony bundle so it just includes the bundle in bundles.php and that's it ...
Installing the FOS jsrouting bundle failed. This is Symfony 3.1.6 as installed from your download for this course. The error output: [Symfony\Component\DependencyInjection\Exception\InvalidArgumentException ...
``` ErrorException: Warning: Undefined array key "ea" at vendor/easycorp/easyadmin-bundle/src/Controller/AbstractCrudController.php:624 at EasyCorp\Bundle\EasyAdminBundle\Controller\AbstractCrudController ...
... `{ "name": "company/name", "description": "some test", "type": "symfony-bundle", "license": "proprietary", "require": { "php": "^7.1.2", "ext-ctype": "*", "ext-iconv ...
Vaceslav-L
Vaceslav-L
Read Full Comment
Hey Random, Hm, it sounds like you should upgrade the WebProfilerBundle, try to execute: "$ composer update symfony/web-profiler-bundle". Btw, what version ...
Rock some FOSUserBundle

The most popular bundle in all of Symfony is... GifExceptionBundle! Wait... that's not right... but it should be. The actual most popular bundle is, of course, FOSUserBundle. And it's easy to know why: it gives you a ...

12:02
... That's because your symfony/security-bundle has unsatisfiable version. Could you try to update it to ` "symfony/security-bundle": "^2.6"` in your composer.json file?
Hey Ozornick Yes, we added a note about that deprecation here: https://symfonycasts.com/screencast/symfony-bundle/bundle-configuration#note-since-symfony-4.3 Cheers! ...
MolloKhan
MolloKhan
Read Full Comment
51 lines | AppKernel.php
// ... lines 1 - 6
class AppKernel extends Kernel
{
public function registerBundles()
{
// ... lines 11 - 18
if ($this->getEnvironment() == 'dev') {
$bundles[] = new \Symfony\Bundle\WebProfilerBundle\WebProfilerBundle();
$bundles[] = new \Symfony\Bundle\DebugBundle\DebugBundle();
}
// ... lines 23 - 24
}
// ... lines 26 - 49
}
See Code Block in Script
Sluggable other Wonderful Behaviors

... where each change to an entity is tracked, or Blameable, where the user who created or updated an entity is automatically recorded. This bundle - StofDoctrineExtensionsBundle - helps to integrate that library into a Symfony ...

7:24
debug:container Cache Config

... the config structure is totally invented by the bundle. Let's go back to our controller and remove that dump: Make sure everything still works. Perfect! If you get an error, make sure to install the APCu PHP extension. Next, let's explore Symfony environments and totally demystify the purpose of each file in config/. ...

6:56
... \ScriptHandler::buildBootstrap > Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache PHP Fatal error: Uncaught Symfony\Component\Debug\Exception\ClassNotFoundException: Attempted to load class ...
Andy @ melt
Andy @ melt
Read Full Comment
I also found that tip but did not manage to get that dependancies to a working state. Updating doctrine-bundel told me to also update doctrine-extension-bundle, so i ran the following: `symfony composer update doctrine ...
26 lines | app/LittleKernel.php
// ... lines 1 - 2
use Symfony\Bundle\FrameworkBundle\Kernel\MicroKernelTrait;
use Symfony\Component\Config\Loader\LoaderInterface;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Bundle\BundleInterface;
use Symfony\Component\HttpKernel\Kernel;
use Symfony\Component\Routing\RouteCollectionBuilder;
class LittleKernel extends Kernel
{
use MicroKernelTrait;
public function registerBundles()
{
}
protected function configureRoutes(RouteCollectionBuilder $routes)
{
}
protected function configureContainer(ContainerBuilder $c, LoaderInterface $loader)
{
}
}
See Code Block in Script
Password encoders password_hashers debug:firewall

... This is another change that we saw when upgrading the security-bundle recipe. Originally, we had encoders. This tells Symfony which algorithm to use to hash passwords. This has been renamed to password_hashers. And ...

2:54
When I run `composer require one/flystem-bundle` (with Symfony 4.2/May 2021), composer attempts to install flysystem bundle v4.0 but generates the following error: Your requirements could not be resolved to an ...
... configuration ###> symfony/framework-bundle ### APP_ENV=dev APP_SECRET=2a9b9734ac76f90a8d60b0756d62c868 #TRUSTED_PROXIES=127.0.0.1,127.0.0.2 #TRUSTED_HOSTS=localhost,example.com ###< symfony/framework-bundle ...
... " "symfony/security-bundle v3.4.0 conflicts with symfony/symfony[v3.0.3]." and at the end "Installation failed, reverting ./composer.json to its original content." So i wrote the sentence below and i didn t have no one problem with the instalation composer require "lexik/jwt-authentication-bundle" ^2.0 ...