Questions tagged [symfony]

Symfony refers to both a PHP framework for building web applications as well as a set of components on which the framework is built.
This tag refers to the currently supported major versions 2.x, 3.x and 4.x. Alternatively you can specify an exact version using the respective tag. This tag should not be used for questions about Symfony 1.x. Please use the Symfony1 tag instead.

I am trying to create a Symfony command in which it runs a query and eventually run that as a cronjob. Does anyone have any experience with this? Here is my code so far. I am wondering where should ...

I have a function that gets executed when a web service is called. If the user is not logged in I want to redirect to login page. The front end I'm using is AngularJS.
The redirection is in the else ...

How to count the user correct answer if he cheched the right suggestion.In the chapns"reponse" of the table"Qcm", i gave the value 1 to the correct suggetion and the value of 0 to the wrong answer. ...

Hello i try to import an existing SQL table on symfony by converting it in Entity.
I'm using the command :
php bin/console doctrine:mapping:import "App\Entity" annotation --path=src/Entity --filter=...

I have a ParentBundle that has some configuration.
And I have ChildBundle that will inherit from ParentBundle using the getParent() function.
the ChildBundle also have some extra configuration.
how do ...

Requirement is to return all jobs which is not purchased by logged user. Everything is cool when i have many to many relationships (like removed jobs than I can user member of) which is not require ...

Im trying to establish 2 entities with a relation, but the relation is slightly different from each angle, so ..
im trying to do it so a show can have multiple quotes .. but from the quote there is ...

I am trying to get a minimum Symfony routing system together to run on the side of my Laravel install for the incoming APIs to be outside the full Laravel install. I noticed that our normal Laravel ...

I am trying to show vue js variables in my twig.
I have seen a few techniques on how to insert Vue variables in Twig such as escape strings or {% verbatim %} but it doesn't seem to work.
Here is my ...

I have an Announcement Entity that where a EditAnnouncementType form is mapped to. I have two other CheckBoxType forms that automatically update their respective fields, but the ChoiceType form isn't ...

I have to make an admin access control on a Symfony 4 project. Everyone is using Security-bundle but for technical reasons related to the OVH servers, we can not upgrade the MySQL version from 5.6 to ...

I have a question / request for ideas regarding the deserialization of Json in a standard Symfony 4.2 environment.
Think of the following two entities Post and Author.
Every Post has exactly 1 Author ...

In Outlook you can create a Mail with a follow up.
When you ar creating such a mail, you can set a time when there should be a reminder for the user.
The reminder is shown like a calenderdate but it ...

I try to figure out my problem which occured few hours ago. When I try to access mywebsite.com/ symfony redirects me to mywebsite.com/admin which is a url that doesn't exist so it throws a 404 error.
...

I want add a notification sound in the admin of my application on symfony 3.4 when a user places an order, I created an event, I call it in the controller of my order but I do not know how created the ...

I need to create a custom form but used within Symfony so I, therefore, have to create a Symfony form. However, I'd like to be able to use the functionality Sonta field types provide like ModeListType:...

What I am currently thinking about is that on our platform, number of events generated by users encreases every day (call started, call ended, call record ready, user blocked etc), so when should be ...

I would like to know where are default API Platform operations (CRUD methods) are stored so that I can call them wherever I need.
I need it because when I define my custom operations, I want to call ...

I have a problem with the application I’m developing.
The API is in PHP Symfony 4 and the application is made with Ionic 4.
I have a problem when doing PATCH requests. The request works very well on ...

I've been experiencing an issue with Doctrine Migrations for a while. A few weeks ago, i thought i fixed the issue by deleting all migrations files, and make one big clean diff instead. But it seems ...

I'm working with Elfinder any idea how to made a multiple file select I searched a bit and I found this issue that didnt really help me: https://github.com/helios-ag/FMElfinderBundle/issues/254
Any ...