symfony-flex

Can't install profiler symfony flex

ε祈祈猫儿з 提交于 2019-12-08 13:52:40
问题 I'm unable to use the symfony profiler after running composer req profiler I'm using symfony/skeleton in version 4.0 beta, but i remember having the same problem when i tested it a few months ago in 3.3. The toolbar isn't working, message here : An error occurred while loading the web debug toolbar. Open the web profiler. And when click on "open the web profiler", i have a 404 error. If someone resolved it, thank you for your help. If not, I'll report a bug while this is still in bêta. About

Symfony 4 Doctrine not working from console [2002] No such file or directory

烂漫一生 提交于 2019-12-05 18:32:55
I´m working with symfony 4 and this error ocurr when runnning doctrine console commands: In AbstractMySQLDriver.php line 108: An exception occurred in driver: SQLSTATE[HY000] [2002] No such file or directory I think this is because there´s something wrong with the connection but when I run the application it has access to the database without errors, so I can not imagine what is wrong with the connection. I was able to continue working by creating manually the database and using php bin/console doctrine:schema:create --dump-sql But this is really unwanted because later when the schema needs to

Webpack FOSJsRoutingBundle integration with Symfony Flex and Angular

断了今生、忘了曾经 提交于 2019-12-02 02:02:57
问题 I cannot get FOSJsRoutingBundle to work with Symfony Flex, Webpack and AngularJS . I've been using this bundle in Symfony 3 with AngularJS for a long time and there's never been an issue but with the introduction of webpack in Symfony Flex, the setup has become more complex. Unfortunately the documentation for FOSJsRoutingBundle version 2.2 isn't clear. You can find the current documentation for this bundle here. I am using the FOSJsRoutingBundle so that my Angular HTTP requests can use the

Webpack FOSJsRoutingBundle integration with Symfony Flex and Angular

限于喜欢 提交于 2019-12-02 00:37:00
I cannot get FOSJsRoutingBundle to work with Symfony Flex, Webpack and AngularJS . I've been using this bundle in Symfony 3 with AngularJS for a long time and there's never been an issue but with the introduction of webpack in Symfony Flex, the setup has become more complex. Unfortunately the documentation for FOSJsRoutingBundle version 2.2 isn't clear. You can find the current documentation for this bundle here . I am using the FOSJsRoutingBundle so that my Angular HTTP requests can use the generated routes rather than absolute URLs. The Problem I have setup this bundle as documented through

How can I retrieve my environment variables in a parameter file in Symfony4 structure?

≯℡__Kan透↙ 提交于 2019-12-01 03:26:01
I did a fresh Symfony installation by using Symfony Flex and the new skeleton belong to the next Symfony 4 directory structure. I add and configure a first third-party bundle : HWIOAuthBundle . This bundle is used to connect via Twitter using two secret information. I declare my consumer_id and my consumer_secret in the config/packages/hwi_oauth.yaml file. hwi_oauth: firewall_names: [secured_area] resource_owners: twitter: type: twitter client_id: XXXXXMyIdXXXXX client_secret: XXXXXMyTopSecretKeyXXXXX My application works fine. But I cannot commit my secrets on github! I want to have a hwi