... when you start a new Symfony project, the `Form` directory is NOT excluded: https://github.com/symfony/recipes/blob/e76843f80e1927488cc27df9c3c4abc5b11d6bf2/symfony/framework-bundle/4.2/config/services.yaml#L18
So I ...
... official recipe: https://github.com/symfony/recipes/blob/a7e8b3e7c716cea16b0c494784f336f78e1ff96b/symfony/framework-bundle/4.2/config/packages/framework.yaml - is your "session" configuration the same as there?
Cheers!
... \Bundle\DistributionBundle\Composer\ScriptHandler::clearCache handling the symfony-scripts event terminated with an exception ...
|
#!/usr/bin/env php |
|
|
|
|
|
// if you don't want to setup permissions the proper way, just uncomment the following PHP line |
|
// read http://symfony.com/doc/current/book/installation.html#configuration-and-setup for more information |
|
//umask(0000); |
|
|
|
set_time_limit(0); |
|
|
|
require_once __DIR__.'/bootstrap.php.cache'; |
|
require_once __DIR__.'/AppKernel.php'; |
|
|
|
use Symfony\Bundle\FrameworkBundle\Console\Application; |
|
use Symfony\Component\Console\Input\ArgvInput; |
|
use Symfony\Component\Debug\Debug; |
|
|
|
$input = new ArgvInput(); |
|
$env = $input->getParameterOption(array('--env', '-e'), getenv('SYMFONY_ENV') ?: 'dev'); |
|
$debug = getenv('SYMFONY_DEBUG') !== '0' && !$input->hasParameterOption(array('--no-debug', '')) && $env !== 'prod'; |
|
|
|
if ($debug) { |
|
Debug::enable(); |
|
} |
|
|
|
$kernel = new AppKernel($env, $debug); |
|
$application = new Application($kernel); |
|
$application->run($input); |
See Code Block in Script
Tailwind CSS
... .. about a week after I recorded this, we created a bundle that
makes it super easy to add Tailwind. It's called, creatively,
TailwindBundle!
Seeing how you can set up a small build system is still interesting - but if you ...
Error: Cannot instantiate abstract class FOS\MessageBundle\Entity\Thread
CRITICAL - Uncaught PHP Exception Symfony\Component\Debug\Exception\FatalErrorException: "Error: Cannot instantiate abstract class FOS ...
hi knp team,
just courious, how could I find out those bundles? all through github?
https://github.com/search?utf8=%E2%9C%93&q=SYMFONY+Bundle&type=
so it is means every bundles, service has theiry own definition class ...
Hey ugo .p!
Ah, thanks for the note! Yea, it looks like the latest version of the bundle doesn't support the version of Symfony we use in this tutorial (even though it would work just fine, actually). I'll add an issue on our end to add a note to help others :).
Cheers! ...
Hi, In symfony 4, do we still have a bundle or folder structure? Like src//controller/.php ? bin/console make:controller or the others like make:entities dont seems to support other folders and only generates file in src. How would you go about organising different parts of the app? Thanks in advance ...
... I've got the other exception using Symfony 3.4, and I don't know why. On Exception method onAuthenticationFailure is not called, I just see a different error message:
"message": "Invalid JWT Token ...
Hi, I have a problem...
I need php-ffmpeg/php-ffmpeg, which require neutron/temporary-filesystem, which allows only symfony/filesystem: ^2.3 || ^3.0
How could I solve?
(PHP-FFMpeg was required by pulse00/ffmpeg-bundle, which I already forked to allow SF4) ...
Hey Kaizoku ,
You're right, because the recipe is not yet available. Some bundles still have no release tag for Symfony 4 support like FOSUserBundle. If you use this bundle, you can point to dev-master in composer.json ...
Hey Céline Ollagnier
Let's track down this problem!
Can you run any other command successfully ? and specially any other doctrine's command ? e.g. doctrine:database:create
Which version of the bundle did you install and what's your symfony version ?
In your database can you see a "migration_versions" table ?
Cheers! ...
Awesome Series! I have been using DI in Symfony for a while, but this helped me to understand the underlying process so much better! Great Job!
I've recently started using the jms/di-extra-bundle from packagist to ...
Hello I also have a problem with autocompetion.
1. I mark var/cache like excluded
2. check for be sure class Symfony\Bundle\FrameworkBundle\Controller\Controller exist
$funFact = $this->container->get('markdown.parser')
when i write $this->container->(autocomplete show 'get' and other) then ->get( (here no autocomplete) ) ...
... Thank's a lot for the answer !
I've tried to use that bundle but composer complains for some incompatibility with my symfony version (3.1.4) ... :(
Anyway thank you so much for beeing so envolved and so kind to answer all ower questions !
Abou.
Is it ok that dump() increases every request time to 2seconds?
I haven't installed the monolog bundle but installed symfony/stopwatch --dev. I have short array on my controller and using dump($simpleArray) on it. It now it takes 2seconds to load every request (dump 2037.7 ms / 2 MiB). Is this ok ? ...
Hey Ahmad,
Not sure about datadog but for example you can log into Loggly logs server. You can see the required config in the bundle's configuration file: https://github.com/symfony/monolog-bundle/blob ...
Hi MolloKhan,
Thank you.
I applied this command: composer install --no-dev but page gives below error:
`Attempted to load class "DebugBundle" from namespace "Symfony\Bundle\DebugBundle".
Did you forget a "use" statement for another namespace?`
because of that, ı added debug again by command composer require debug ...
Hello |mention:213|
The problem with the ARRAY error is still here "Undefined constant Doctrine\\DBAL\\Types\\Types::ARRAY" despite this https://github.com/symfony/maker-bundle/issues/1437
I didn't want to downgrade ...
1545
symfony bundle
Filter Results