Skip to content

Tag: symfony

Symfony Webpack not working server return 404 in CSS/JS

I working on Symfony project but when I want implement Tailwind I have problem when I want render images it return 404.. I went through the whole internet and found no answer please help me btw. Rendering Image through url also not working webpack.config.js tailwind.config.js assets/app.js twig usage Answer O…

Use a request header with HTTP Client to external Api server

Consider the following request to a Symfony controller: This code snippet is a minimal example for the usage in a controller. The controller accepts a Request, and uses the x-token header for authenticating against the 3rd Party Api (here: localhost:3001). Is there a way, to automate this process? So basicall…