... what I try. Can you offer some assistance? Here are snippets of some relevant configurations:
composer.json - Expected version when using Symfony 5.4.*
```
"symfony/mercure-bundle": "^0.3.5",
```
package.json ...
... bundle does not support Symfony 6 yet, though there's an issue about it: https://github.com/ecphp/cas-bundle/issues/58 - feel free to follow it to know when that issue is closed. Also, if you have time - feel free to help ...
Blog
How we Upgraded to Symfony 2.7 deprecation notices
Symfony 2.7 - the next LTS release - came out on Saturday, with bells and
whistles like 100+ new features/enhancements and a surprise new bridge
component to PSR-7.
So, we decided to upgrade immediately and report back ...
... Hello,
I can't install "composer require maker --dev". It tells me :
"Your requirements could not be resolved to an installable set of packages."
Problem 1
- Root composer.json requires symfony/maker-bundle ...
... *",
"symfony/flex": "^1.1",
"symfony/framework-bundle": "4.2.*",
"symfony/security-bundle": "4.2.*|4.3.*",
"symfony/twig-bundle": "4.2.*|4.3.*",
"symfony/validator": "4.2 ...
The Service Container Autowiring
... add a type-hint to autowire a service,
Symfony simply looks for a service in the container with that id. If it finds
one, life is good. If not... error!
Next, let's use our bundle-config skills to figure out how to control where
Symfony stores the cache... which we know means: let's control how the cache
service behaves.
API Platform Installation
... different: we're going to install API Platform as
a bundle into a normal, traditional Symfony app. It makes learning API Platform a
bit easier. Once you're confident, for your project, you can do it this same way
or jump in ...
... packages.
Problem 1
- Installation request for liip/imagine-bundle ^2.3 -> satisfiable by liip/imagine-bundle[2.3.0].
- liip/imagine-bundle 2.3.0 requires symfony/asset ^3.4|^4.3|^5.0 -> no matching package ...
Hello, I have a question about the recipe.
I've decided to write my own recipe for this nice bundle ( https://github.com/BooleanType/symfony-recipes/tree/master/boolean-type ). My version of bundle is here: https ...
... /knp-markdown-bundle[1.7.0, ..., 1.7.1] require symfony/framewor
k-bundle ~2.8|~3.0|^4.0 -> found symfony/framework-bundle[v2.8.0-BETA1, ...,
2.8.x-dev, v3.0.0-BETA1, ..., 3.4.x-dev, v4.0.0-BETA1, ..., 4.4.x-dev] but it ...
... dump? My composer dev is following:
"require-dev": {
"easycorp/easy-log-handler": "^1.0.2",
"symfony/debug-bundle": "^3.3|^4.0",
"symfony/dotenv": "^4.0",
"symfony/monolog-bundle ...
... https://github.com/symfony/symfony/blob/e60a876201b5b306d0c81a24d9a3db997192079c/src/Symfony/Bundle/SecurityBundle/Resources/config/security_listeners.xml#L30
Cheers!
Recipe Upgrade symfony/console bootstrap.php
... bootstrap.php file is the most complex file in the recipe system and
it's shared across several recipes. Yep, I'm showing you the ugliest case.
Let's go find that: symfony/framework-bundle/4.2/config/bootstrap.php.
Here ...
Micro Symfony via MicroKernelTrait
How big is Symfony, really? It's HUGE! I'm kidding. Dude, Symfony is just a bunch
of little libraries, so we can make it as small or as huge as we want. Most of us
start with the Standard Edition: it looks basically ...
Btw: In Symfony 4 with EasyAdmin Bundle with Flex, you need to extend this class: EasyCorp\Bundle\EasyAdminBundle\Controller\AdminController instead of: JavierEguiluz\Bundle\EasyAdminBundle\Controller\AdminController
This worked for me :) ...
... Hello,
I'm working with Symfony 4, I created a bundle and added the routes inside the bundle /resources/config/routes.yaml, because I have to add the routes again in the global configuration, can't it be done automatically from the bundle?
|
// ... lines 1 - 4
|
|
use Symfony\Bundle\FrameworkBundle\Controller\Controller; |
|
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
|
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method; |
|
// ... lines 8 - 9
|
|
class ProgrammerController extends Controller |
|
{ |
|
|
|
|
|
|
|
|
|
public function newAction() |
|
{ |
|
// ... line 18
|
|
} |
|
} |
See Code Block in Script
The Twig Recipe
...
Bundles are the "plugin" system for Symfony. And whenever we install a third-party
bundle, Flex adds it here so that it's used automatically. Thanks Flex!
The recipe also created some stuff, like a templates/ directory! Yep ...
... extensions-bundle": "1.7.1",
"symfony/asset": "6.2.*",
"symfony/console": "6.2.*",
"symfony/dotenv": "6.2.*",
"symfony/flex": "^1.3.1",
"symfony/framework-bundle": "6.2 ...
... project - you can teach Flex, i.e. create a recipe for your bundle in https://github.com/symfony/recipes-contrib . Symfony has 2 repositories for recipes: https://github.com/symfony/recipes that contain official recipes ...
1545
symfony bundle
Filter Results