How to create php files using webstorm?
Method 1
You can use webstorm to force open the PHP file file-->open. This way to open the PHP file.
Recommended: "webstorm tutorial"
Method 2
Add webstorm settings Can easily identify php files. But syntax-level help and code help are not supported. Press the shortcut key
Method 3:
Webstorm is a product of JetBrains. Many people want to use webstorm to edit .php files, but webstorm does not support php files. We can download JetBrains' code editor phpstorm so that we can edit php files.
I recommend the third one, because PhpStorm can do everything WebStorm can do, and the latter also has server-side language Php and MySQL database, Apache server configuration and other server-related functions. PhpStorm = WebStorm PHP DB /SQL.
Official website original words phpstorm includes all the functions of webstorm plus php and db.
But some plugins installed by default in webstorm are not installed in phpstorm, but you can install them yourself, such as Meteor. On the contrary, webstorm cannot install PHP-related plugins that only phpstorm can install. For example, Symfony. webstorm is focused on front-end development and has rich front-end frameworks and js libraries. phpstorm is biased towards server development and is not as good as webstorm in terms of pure front-end.
The above is the detailed content of How to create php files using webstorm. For more information, please follow other related articles on the PHP Chinese website!