1545 search results for symfony bundle

Hey Dominik That's interesting. Try to update maker-bundle, probably it's outdated. ``` composer update symfony/maker-bundle ``` Cheers! ...
71 lines | composer.json
{
// ... lines 2 - 30
"require-dev": {
"sensio/generator-bundle": "^3.0",
"symfony/phpunit-bridge": "^3.0",
"doctrine/data-fixtures": "^1.1",
"hautelook/alice-bundle": "^1.3"
},
// ... lines 38 - 69
}
See Code Block in Script
78 lines | composer.json
{
// ... lines 2 - 35
"require-dev": {
"sensio/generator-bundle": "^3.0",
"symfony/phpunit-bridge": "^3.0",
"doctrine/data-fixtures": "^1.1",
"hautelook/alice-bundle": "^1.3"
},
// ... lines 43 - 76
}
See Code Block in Script
Hi again, yes it was configured as symfony-bundle and it still wasn't being installed by Symfony Flex. The trouble was that I decided to call my bundle 'test/testbundle' and for some reason it was ignored by Symfony Flex. Now it works. Thanks ...
FranksPress
FranksPress
Read Full Comment
... Hello, I'm facing this problems, Attempted to load interface "NotExistingInterface" from namespace "Symfony\Bundle\FrameworkBundle\Tests\Fixtures\Validation". Did you forget a "use" statement for another namespace ...
Md mamunur R.
Md mamunur R.
Read Full Comment
75 lines | src/Controller/ArticleController.php
// ... lines 1 - 4
use App\Service\MarkdownHelper;
use Psr\Log\LoggerInterface;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\JsonResponse;
use Symfony\Component\HttpFoundation\Response;
use Twig\Environment;
class ArticleController extends AbstractController
{
// ... lines 15 - 25
public function show($slug, MarkdownHelper $markdownHelper)
{
// ... lines 28 - 60
}
// ... lines 62 - 73
}
See Code Block in Script
Activating 2FA

... Ok: here's the flow. When we submit a valid email and password, the two-factor bundle will intercept that and redirect us to an "enter the code" form. To validate the code, it will read the totpSecret that's stored for ...

5:34
For those coming with recent versions of *Symfony* (mine is 6.3), *Stimulus* doesn't seem to be installed by default anymore with the `symfony/webpack-encore-bundle` package. Instead you have to install it using ...
lombervid
lombervid
Read Full Comment
Hey Mauro! Yea, these commands are still being updated to work with Symfony 4. The big issue is actually pretty simple: you don't have a bundle in Symfony 4 :). Here are some more details: https://github.com/doctrine ...
weaverryan
weaverryan
Read Full Comment
... -> satisfiable by stof/doctrine-extensions-bundle[v1.6.0]. - stof/doctrine-extensions-bundle v1.6.0 requires symfony/config ^4.4 || ^5.2 -> found symfony/config[v4.4.0, ..., v4.4.20, v5.2.0, ..., v5.2.4] but these were not loaded ...
Jörg daniel F.
Jörg daniel F.
Read Full Comment
Hey Gballocc7 To remove a bundle from a Symfony app is very easy, if you are using Symfony Flex all you need to do is remove it with composer, unless you added some specific config. The manual way would be to first ...
MolloKhan
MolloKhan
Read Full Comment
// ... lines 1 - 2
namespace App\Controller\Admin;
use EasyCorp\Bundle\EasyAdminBundle\Config\Dashboard;
use EasyCorp\Bundle\EasyAdminBundle\Config\MenuItem;
use EasyCorp\Bundle\EasyAdminBundle\Controller\AbstractDashboardController;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Annotation\Route;
class DashboardController extends AbstractDashboardController
{
#[Route('/admin', name: 'admin')]
public function index(): Response
{
return parent::index();
}
public function configureDashboard(): Dashboard
{
return Dashboard::new()
->setTitle('EasyAdminBundle');
}
public function configureMenuItems(): iterable
{
yield MenuItem::linkToDashboard('Dashboard', 'fa fa-home');
// yield MenuItem::linkToCrud('The Label', 'fas fa-list', EntityClass::class);
}
}
See Code Block in Script
... All status = 'auto-generated recipe'. Composer version 1.9.3 2020-02-04 12:58:49 Symfony Version 4.4 antishov/doctrine-extensions-bundle v1.4.2 Forked from stof/doctrine-extensions-bundle integration of the gedmo ...
Upgrading Recipes New Commands

... were also originally added by recipes. For example, cache.yaml comes from the recipe for symfony/framework-bundle: Over time, the recipes themselves tend to change. If we installed the symfony/framework-bundle today, it ...

6:36
... example of a bundle that supposedly works with Symfony 5 and their controllers don't appear to require the use of ``: https://github.com/willdurand/BazingaJsTranslationBundle/tree/master/Resources/config I see it! The ...
weaverryan
weaverryan
Read Full Comment
Param Converter 404's

... to install another bundle! Well, if you're using Symfony 6.2 and a new enough DoctrineBundle - probably version 2.8 - then this should work without needing anything else. But since we're using Symfony 6.1, we need one ...

5:44
Tags Compiler Passes Other Nerdery

... same tag, multiple times. Anyways, we don't need that info: let's just var_dump($id) to see if it works, then die. To tell Symfony about the compiler pass, open your bundle class. Here, go back to the Code -> Generate menu ...

9:07
Bonjour! May I ask a question please? I should use CAS bundle for my app because we use SSO system. So, can i use the following bundle while I use Symfony 6 because there is no CAS bundle for Symfony6: https://github.com/ecphp/cas-bundle I really appreciate your support and your hard work! ^^ ...
62 lines | triage_pr_28069/composer.json
{
// ... lines 2 - 4
"require": {
// ... lines 6 - 8
"symfony/console": "^4.2",
// ... line 10
"symfony/force-lowest": "=4.2",
"symfony/framework-bundle": "^4.2",
"symfony/yaml": "^4.2"
},
"require-dev": {
"symfony/dotenv": "^4.2"
},
// ... lines 18 - 60
}
See Code Block in Script
74 lines | composer.json
{
// ... lines 2 - 17
"require": {
"php": "^7.1.3",
"symfony/console": "^4.0",
"symfony/flex": "^1.0",
"symfony/framework-bundle": "^4.0",
"symfony/lts": "^4@dev",
"symfony/yaml": "^4.0",
// ... lines 25 - 34
},
// ... lines 36 - 72
}
See Code Block in Script