1545 search results for symfony bundle

Fatal error: Unknown: Failed opening required 'D:\SymfonyProjects\myBlog\vendor\symfony\symfony\src\Symfony\Bundle\WebServerBundle/Resources/router.php' (include_path='.;C:\php\pear') in Unknown on line 0 ...
Hamdi Ali
Hamdi Ali
Read Full Comment
34 lines | LoremIpsumBundle/composer.json
// ... lines 1 - 11
"require": {
// ... line 13
"symfony/config": "^3.4 || ^4.0",
"symfony/dependency-injection": "^3.4 || ^4.0",
"symfony/http-kernel": "^3.4 || ^4.0"
},
"require-dev": {
"symfony/framework-bundle": "^3.4 || ^4.0",
"symfony/phpunit-bridge": "^3.4 || ^4.0",
"symfony/browser-kit": "^3.4 || ^4.0"
},
// ... lines 23 - 34
See Code Block in Script
... there's the list of available releases, but on the first row you can see "4.x-dev" - that's the key. Specify that as the version: $ symfony composer req easycorp/easyadmin-bundle:4.x-dev It will install the bundle using ...
... nevertheless, you will have to downgrade doctrine. Use the following: `symfony composer require doctrine/common:^2.7 --update-with-dependencies` After that, you should be able to install the stof doctrine extension bundle
Marcus S.
Marcus S.
Read Full Comment
... this functionality as optional. Let's pretend you want the event_dispacher service as required dependency. You will require symfony/event-dispatcher without --dev option. But event dispatcher is not a bundle (I think) and ...
12 lines | src/Kernel.php
// ... lines 1 - 4
use Symfony\Bundle\FrameworkBundle\Kernel\MicroKernelTrait;
use Symfony\Component\HttpKernel\Kernel as BaseKernel;
class Kernel extends BaseKernel
{
use MicroKernelTrait;
}
See Code Block in Script
18 lines | .gitignore
// ... line 1
###> symfony/framework-bundle ###
/.env.local
// ... lines 4 - 18
See Code Block in Script
More on Routing And Dependency Injection Parameters

... common, and you can see the class of these objects by finding the service via the container:debug command: php app/console container:debug | grep -i router router container Symfony\Bundle\FrameworkBundle\Routing\Router ...

22:29:46
More with ManyToMany Avoiding Duplicates

... Controller¶ Quickly, look back at the redirect and generateUrl methods we’re using in our controller. Let’s see what these really do by opening up Symfony's base controller class: // vendor/symfony/symfony/src/Symfony/Bundle ...

2:51
Training The Hardest Part

... a DefaultController class? The app directory? src directory? Bundle directory? Lots of directories!? What is this ::base.html.twig file? Wait, so MyBundle:Default:index is different than MyBundle:Default:index.html.twig ...

22:29:46
How to dynamically remove a Form Field

... two solutions: // src/KnpU/QADayBundle/Controller/RemoveFormFieldController.php namespace KnpU\QADayBundle\Controller; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use KnpU\QADayBundle\Form\Type ...

22:29:46
... all-dependencies`] runs ok To complete the upgrade i need to install 6 recipes recipes: [symfony/routing, symfony/security-bundle, symfony/translation, symfony/twig-bundle] install ok... But with these 2 recipes ...
Polychronis
Polychronis
Read Full Comment
66 lines | composer.json
{
"type": "project",
"license": "proprietary",
"require": {
"php": "^7.2.5",
"ext-ctype": "*",
"ext-iconv": "*",
"symfony/console": "5.0.*",
"symfony/dotenv": "5.0.*",
"symfony/flex": "^1.3.1",
"symfony/framework-bundle": "5.0.*",
"symfony/yaml": "5.0.*"
},
"require-dev": {
},
// ... lines 16 - 64
}
See Code Block in Script
22 lines | .env
// ... lines 1 - 15
###> symfony/framework-bundle ###
APP_ENV=prod
// ... lines 18 - 22
See Code Block in Script
22 lines | .env
// ... lines 1 - 15
###> symfony/framework-bundle ###
APP_ENV=prod
// ... lines 18 - 22
See Code Block in Script
22 lines | .env
// ... lines 1 - 15
###> symfony/framework-bundle ###
APP_ENV=dev
// ... lines 18 - 22
See Code Block in Script
22 lines | .env
// ... lines 1 - 15
###> symfony/framework-bundle ###
APP_ENV=dev
// ... lines 18 - 22
See Code Block in Script
66 lines | composer.json
{
// ... lines 2 - 12
"require": {
// ... lines 14 - 27
"symfony/assetic-bundle" : "~2.8",
// ... lines 29 - 32
},
// ... lines 34 - 64
}
See Code Block in Script
66 lines | composer.json
{
// ... lines 2 - 12
"require": {
// ... lines 14 - 27
"symfony/assetic-bundle" : "~2.6",
// ... lines 29 - 32
},
// ... lines 34 - 64
}
See Code Block in Script
70 lines | composer.json
// ... lines 1 - 15
"require": {
// ... lines 17 - 21
"symfony/swiftmailer-bundle": "^3.1",
// ... lines 23 - 28
},
// ... lines 30 - 70
See Code Block in Script