IntelliJ IDEA / PhpStorm Symfony Plugin
Key | Value |
---|---|
Plugin Url | https://plugins.jetbrains.com/plugin/7219 |
ID | fr.adrienbrault.idea.symfony2plugin |
Changelog | CHANGELOG |
Build and Deployment | MAINTENANCE |
Install
- Install the plugin by going to
Settings -> Plugins -> Browse repositories
and then search forSymfony
. - Enabled it per project (File -> Settings -> Languages & Framework -> PHP -> Symfony)
- Install Php Annotation plugin to enjoy all the annotation stuff
- Plugin needs a valid PhpStorm indexer, use "File > Invalidate Caches / Restart" if something crazy is going on
Freemium
Since PhpStorm 2022.1 is plugin is marked a "Freemium".
- All features which are inside GitHub are free to use, unless there is reason (e.g. Supporting old Symfony Version, ...)
- Non-free features are flagged with [paid] inside the CHANGELOG
- There is ~15min grace period after project open where all features are available
A license can be bought at JetBrains Marketplace. Free Discount Code generator for open source contributions are planned.
Version
- This plugin supports Symfony 2, 3, 4, ...
Documentation and tutorials
- Documentation read online or fork doc
- JetBrains: Symfony Development using PhpStorm
- KnpUniversity: Lean and Mean Dev with PhpStorm (for Symfony)
- Slides: PhpStorm: Symfony2 Plugin
๐ฎ
Autocomplete (or something else) is not working! Help! - You usually need to trigger the autocomplete popup yourself, by pressing CTRL+SPACE (may be a different shortcut depending on your keymap).
- Check your File -> Settings -> Languages & Framework -> PHP -> Symfony -> Enable Plugin for this Project
Technical Diagram (Work In Progress)
Building, debugging and other
- Install IntelliJ IDEA (Community Edition works fine)
- Open this project
- Choose
View > Tool Windows > Gradle
- Double click
idea-php-symfony2-plugin > Tasks > intellij > runIde
If you are having difficulties, consult the documentation: http://confluence.jetbrains.com/display/PhpStorm/Setting-up+environment+for+PhpStorm+plugin+development
- Want to sponsor my development? Nice! You can sponsor me via PayPal or via Github. Github matches your donation so the total donation will be doubled.
๐ข
What? Something still does not work? Damn! You can browse the existing issues at https://github.com/Haehnchen/idea-php-symfony2-plugin/issues
If your issue already exists, don't hesitate to add a comment to help contributors resolve the issue more easily.
If your issue does not exist, open a new issue
Make sure to provide the maximum amount of informations, such as:
- What version of PhpStorm are you using ?
- What version of the plugin are you using ?
- The stack trace if an error occurred
- Check if you are in PhpStorm eap channel