VS Code for PHP development (Symfony 5)

preview_player
Показать описание
Setup VS Code for Efficient PHP development.

If you started programming in PHP using the well-known Symfony framework, so you tried to configure VS Code for PHP development as well. Moreover, you didn't want to invest €199 in the famous PHPStorm IDE.

1 - Prerequisites
-- Install PHP and Composer (If you are on Linux use this cmd "sudo apt install php-cli composer" )
-- Create an empty php project (on my case I will use a symfony project)

2 - Configure VS Code for PHP
-- Autocomplete & Intellisense & Go to definition
* Install PHP Intelephense
-- Allow autocomplete in tests (symfony)
"**/.git/**",
"**/.svn/**",
"**/.hg/**",
"**/CVS/**",
"**/.DS_Store/**",
"**/node_modules/**",
"**/bower_components/**",
],
-- Go to definition (crtl + click)
-- Generate getters and setters for class properties
-- Debugging
* Configure VS Code debugger to listen for Xdebug
-- Formatting & linting
* PHP CS Fixer
"[php]": {
},
-- In case of issues with format on save
-- Twig support
-- Database management
Рекомендации по теме
Комментарии
Автор

nice video, maybe a little bit faster next time. too slow for me.

kironet
Автор

hello i m using and Ubuntu serveur ssh acess for my symfony project, how to using it in the terminal please ? and get autocompletion thanks

issaissa
Автор

is this a coding tutorial or how to milk cows 💀 wtf is this music

tadastadas
Автор

awful music and you move way to fast on the screen

typeacademy
join shbcf.ru