1545 search results for symfony bundle

... //symfonycasts.com/screencast/symfony-bundle/controller-functional-test - it does not include API Platform (so you will need to add that as bundle to the kernel... and there may be some other changes), but I hope it will point you in the right direction :). Cheers!
weaverryan
weaverryan
Read Full Comment
... s3-v3 ` does not install any recipes because it has nothing to do with Symfony but the bundle `oneup/flysystem-bundle` is the one which comes with a recipe. Is there a chance that you added the `config/packages/oneup_flysystem.yaml` file before installing the bundle?
MolloKhan
MolloKhan
Read Full Comment
Hello there , The term "Bundle" will disappear from Symfony? (In the new book I found nothing that talks about Bundle). I'm asking because normally I structure the whole application with the new structure, but I ...
Jose carlos C.
Jose carlos C.
Read Full Comment
... require symfony/maker-bundle:1.14.6 --dev` oh and you need to delete your Entity and repository before downgrading, after create it again and everything will work. Hope it will help, again sorry for this issue! Cheers!
... /framework-bundle/Console/Application.php:87 Symfony\Bundle\FrameworkBundle\Console\Application->doRunCommand() at /usr/local/share/symfony-repos/spark-media-symfony/vendor/symfony/console/Application.php:273 Symfony ...
Hi Ryan (andeverybody) I have a problem with upgrading a third bundle BackupManager in Symfony5 https://github.com/backup-manager/symfony/tree/2.3.0 In its changelog file it seems to have support for Symfony5.0 in ...
Francisco C.
Francisco C.
Read Full Comment
Hunting Down the Final Deprecations

... .. rut roo! Since symfony/framework-bundle 5.4, method AbstractController::getDoctrine() is deprecated. Inject an instance of ManagerRegistry in your controller instead. It's not easy to see where this is coming from in our ...

9:32
Coding a new Feature

... with the framework. That code will live in the bundle. My best advice... don't over-think it: it usually becomes pretty obvious if you put something in the wrong spot. Press Shift+Shift and search for a file that's closely ...

10:05
... Look's like you have an incompatibility between "symfony" and "symfony/framework-bundle" versions. Could you show me your composer.json file too? Let's find out what's going on here :)
MolloKhan
MolloKhan
Read Full Comment
Hey! After installing `stof/docrtine-extensions-bundle` Symfony is throwing this error: `Call to undefined method Doctrine\Common\Annotations\AnnotationRegistry::registerLoader()`. My version of Symfony is 6.2.1. ...
Tried that, still no luck. Here's my trivial bundle: https://github.com/tacman/TacmanHelloBundle, and here's my open issue symfony/flex: https://github.com/symfony/flex/issues/919 ...
Tac-Tacelosky
Tac-Tacelosky
Read Full Comment
... Hey, in flex > 1.9, what should I move to `require-dev` instead of `debug-pack`, is that `symfony/stopwatch` and `symfony/web-profiler-bundle`?
Elchanan B.
Elchanan B.
Read Full Comment
21 lines | src/Controller/SecurityController.php
// ... lines 1 - 4
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
// ... line 6
use Symfony\Component\Routing\Annotation\Route;
// ... line 8
class SecurityController extends AbstractController
{
/**
* @Route("/login", name="app_login", methods={"POST"})
*/
public function login()
{
// ... lines 16 - 18
}
}
See Code Block in Script
17 lines | src/Controller/SecurityController.php
// ... lines 1 - 2
namespace App\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\Response;
// ... lines 7 - 8
class SecurityController extends AbstractController
{
// ... line 11
public function login(): Response
{
}
}
See Code Block in Script
Installing EasyAdmin

... composer require admin This is a Flex alias for easycorp/easyadmin-bundle. Notice that it downloads the shiny new version 4 of EasyAdmin, which only works with Symfony 6. So if you're using ...

3:29
How does one create a reusable bundle in symfony 4.0? ...
how to create Bundle using command in symfony 4? ...
Vishal P.
Vishal P.
Read Full Comment
14 lines | config/bundles.php
// ... lines 1 - 2
return [
Symfony\Bundle\FrameworkBundle\FrameworkBundle::class => ['all' => true],
// ... lines 5 - 12
];
See Code Block in Script
13 lines | config/bundles.php
// ... lines 1 - 2
return [
// ... lines 4 - 5
Symfony\Bundle\TwigBundle\TwigBundle::class => ['all' => true],
// ... lines 7 - 11
];
See Code Block in Script