Are there any PHP plug-ins in vscode that can be automatically inserted into namespaces?

recently using PHP STORM, as an IDE is very powerful, but it is so bloated that it feels slow to operate. And these days, it often causes the exception of the local server because it occupies the debugging port, which is very strange. So I want to change to a lighter vs code to write PHP.

I just tried vs code to debug PHP, but I don"t have a template for PHP files when I create a new file. This is a bit of a hassle. When you want to create a new PHP class file, you can automatically generate the class template and introduce the namespace.

is there such a PHP plug-in? Or can I complete the above functions through other settings?

Jun.03,2021

PHP Intelephense can automatically introduce namespaces


No, it is recommended that phpstrom

write php.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b35322-2b6f0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b35322-2b6f0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?