I cannot get the nexylan slack bundle installed. My flex is up to date, I'm not on symfony 5.
This is what happens:
```
D:\Programming\4-2>composer require nexylan/slack-bundle php-http/guzzle6-adapter:1.1.1
Using ...
Bootstrapping Micro-Symfony
... library:
sensio/framework-extra-bundle - this is for annotation routing. If you don't want
that, you only need symfony/symfony.
Our blank project now has 1 file - composer.json - with just 2 dependencies:
Go back to ...
```
namespace App\Controller;
use App\Service\MarkdownHelper;
use Psr\Log\LoggerInterface;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController ...
... service class directly, it should be "\Symfony\Bundle\TwigBundle\TwigEngine" as I know:
```
/** @var \Symfony\Bundle\TwigBundle\TwigEngine $templating */
$templating = $this->container->get('templating');
// And you will get autocompletion here
$templating->render();
```
Cheers!
Hey Lampje,
Nope, Symfony doesn't has such feature out-of-the-box. Probably there's a bundle for that, but I don't now such, sorry. If you don't find any bundle, I think you could try to write it by yourself - Symfony ...
... extra-bundle` library). Anyways, the fix is to update one Symfony package:
```
composer up symfony/framework-bundle
```
That should fix the issue :). I'm running that on our course code right now so that the downloaded code works for everyone again without issues.
Cheers!
... Hey Victor,
I'm using this [link](https://symfony.com/doc/5.4/frontend/encore/installation.html#installing-encore-in-symfony-applications) to install encore(symfony/webpack-encore-bundle)
After running `yarn install ...
Hey Michael,
See symfony/webpack-encore-bundle recipe, it should have all that stuff like package.json, assets/controllers.json, etc. Here's the link to the latest version: https://github.com/symfony/recipes/tree ...
... project root) with this content:
`###> symfony/framework-bundle ###
APP_ENV=dev
APP_SECRET=f81422bf04497ffca0d1abc0b7125211
#TRUSTED_PROXIES=127.0.0.1,127.0.0.2
#TRUSTED_HOSTS='^localhost|example\.com$'
###< symfony ...
... /http-foundation/RequestStack.php(102): Symfony\Component\HttpFoundation\Request->getSession()
#7 /var/www/app/vendor/sylius/sylius/src/Sylius/Bundle/CoreBundle/Provider/SessionProvider.php(19): Symfony\Component ...
... bundle (why have the extra subdirectory)? However, some pure libraries will come with a Symfony bundle embedded inside of them, and they *will* follow some convention like this. API Platform is one example: it is just a PHP ...
Hey Diaconescu!
Hmm. But in the tutorial, we say to install the bundle: https://knpuniversity.com/screencast/symfony-rest5/hateoas-php-library#installing-bazingahateoasbundle
```
composer require willdurand/hateoas ...
Your requirements could not be resolved to an installable set of packages.
Problem 1
- twig/extra-bundle v3.0.1 requires symfony/framework-bundle ^4.3|^5.0 -> no matching package found. I'm upgrading from 3.4 to flex 3.4 with skeleton
I'm resolved , simple. composer require twig-bundle ...
Thank you for the quick response. I have symfony/orm-pack installed and the following bundles relating to doctrine:
`
...
Doctrine\Bundle\DoctrineCacheBundle\DoctrineCacheBundle::class => ['all' => true],
Doctrine ...
... //github.com/symfony/symfony/blob/4a053e5fed4422a834596da6a643978b603db18e/src/Symfony/Bundle/FrameworkBundle/CacheWarmer/RouterCacheWarmer.php#L42 - which actually just calls the Router itself - https://github.com ...
|
{ |
|
// ... lines 2 - 3
|
|
"require": { |
|
// ... lines 5 - 7
|
|
"easycorp/easy-log-handler": "^1.0", |
|
// ... lines 9 - 23
|
|
"symfony/dotenv": "4.4.*", |
|
// ... lines 25 - 29
|
|
"symfony/monolog-bundle": "^3.5", |
|
// ... lines 31 - 43
|
|
}, |
|
// ... lines 45 - 102
|
|
} |
See Code Block in Script
... the function( at least in the code). Could you please help me? Here are the warnings I get :
`Remaining deprecation notices (5)
2x: Autowiring-types are deprecated since Symfony 3.3 and will be removed in 4.0. Use ...
... compile .env files for production use (requires symfony/flex >=1.2).
# https://symfony.com/doc/current/best_practices/configuration.html#infrastructure-related-configuration
###> symfony/framework-bundle ###
APP_ENV ...
Hello
I have tried the updated as well but still i am getting following errors -
C:\wamp64\www\Symfony001\Symfony-Doctrine>composer require stof/doctrine-extensions-bundle
Using version ^1.6 for stof/doctrine ...
... progress it in the symfony/symfony-docs repo, I hope you understand it's not an easy process upgrading docs. Why Symfony goes this way about bundle-less architecture - there're a lot of reasons behind it, well, which also ...
1545
symfony bundle
Filter Results