I am trying to run a basic Symfony installation which I generated using this command : $ symfony new basic When I run the following commands : $ cd basic $
I am a computer science student. And I have a problem while creating an API. Here is my controller allowing the addition of a "Personnage". (POST) #[Route('/api
This is my stack trash, I am getting this when doing the existing Symfony project. stack trash : Symfony\Component\DependencyInjection\E
I have set database with postgresql and docker, now when I want to access to my database I have this connection error saying password authentication failed for
I have some issues with Console when I try to call a Command from a Controller. I found a way in the Symfony CookBook : http://symfony.com/doc/current/cookbook/
I want to sent an email with swiftmailer this is my function in my mailController.php public function newMail(Mail $mail){ $message = \Swift_Message::n
I have an application that I'm trying to upload to my FTP server. I've run : symfony console make:user and also symfony console make:auth So while running the s
In one of my custom form types I need to add a custom HTML attribute to the field. However that attribute is based on the data. So I added an event handler but
I need to convert an object of type ConstraintViolationListInterface to a single exception for further logging, where the message is a concatenation of the mess
I need to convert an object of type ConstraintViolationListInterface to a single exception for further logging, where the message is a concatenation of the mess
I have a column viewedAt which is a DATETIME and accept NULL values. It's a software restriction to set that column on each new record as 0000-00-00 00:00:00 so
I use Form Component and have a ChoiceType field on the form which is rendered to a select field. On the client-side I use select2 plugin which initializes a se
I was recently tweaking around with my DB and noticed that I made 5 migrations on top of my existing 2. So 7 in total, m1, m2, ..., m7. From these 5, I only wan
I am trying to send a header using php-enqueue bundle I'm trying this: public function __construct( ProducerInterface $producer ) { parent::__constru
I'm using Symfony for a project and I have been trying to get the login to work on production server with no success for the past 2 days. I keep getting the err
With server:ca:install on the Symfony console an SSL certificate can be generated and installed. Is it possible / How to install an existing one, created separa
I'm using Doctrine in Symfony4. How do I retrieve all possible values for an ENUM or SET column on this base?
I have a page that has a form that generates a query that renders relevant information from my database: Render Example The controller function I use creates th
I have PHP 8.0 Ubuntu 20.4 running in a VM Symfony Version 5 doctrine/orm 2.8.2 doctrine/dbal 2.12.1 doctrine/migrations 3.1.1 and oracle19c running I have als
I want to upload an image from react native app to backend in symfony via axios. here is the code of the front end : const [pickedImage, setPickedImage] = u