Top "Symfony4" questions

Symfony is a PHP framework developed by SensioLabs.

How to get POST global variable in PHP Symfony 4?

I have a very strange problem getting the result of a POST global variable in Symfony 4. I tried this way : $…

php ajax symfony4
Symfony 4 api Restful No 'Access-Control-Allow-Origin' header is present on the requested resource, only for one resource

I am using Symfony 4 as Restful API, I was working perfectly with calling the api from a VueJS application. Today, …

symfony cors symfony4 nelmiocorsbundle
How can I find app/AppKernel.php in Symfony 4?

I want to register a bundle in the AppKernel Class in Symfony 4 according to this tutorial: https://symfony.com/doc/3.3/…

php symfony symfony4 bundles symfony-kernel
How to remove index.php from Symfony4 router?

I have been following Symfony 4 documentation as to how to configure a web server. https://symfony.com/doc/current/setup/…

php symfony url routing symfony4
composer install complaining about php 7.2 but i'm running php 7.3

I have a symfony4 project and i'm running composer install but i'm getting the following error: Problem 1 - ocramius/package-versions 1.5.1 …

composer-php centos7 symfony4 php-7.3
Symfony4: No route found for "GET /lucky/number"

I am starting to play with symfony4. I've just created new application and create new LuckyController. It works with routes.…

php symfony controller symfony-routing symfony4
How to start local server with symfony 5 or downgrade version to 4.4?

I started a new project in new Symfony 5 and i can't open my local server. On Symfony 4.4 the command PHP …

php symfony symfony4 symfony5 symfony-4.4
Symfony4: Unable to find the controller for path "/api/login_check". The route is wrongly configured

I am tyring to set up symfony4 api JSON login by JWT. The api platform core bundle is installed and …

jwt symfony4 api-platform.com lexikjwtauthbundle
base64 image to image file with Symfony and VichUploader

In symfony, I have an entity Program, which has the attribute image. Uploading images, naming them and putting them in …

symfony symfony4 vichuploaderbundle
My Symfony routes are throwing a 404?

I'm trying to get back into development, trying to set up Symfony on a shared hosting server with GoDaddy. I …

php symfony model-view-controller routing symfony4