

To learn how to view the enabled extensions, look here. The set of extensions enabled by default in PhpStorm can change anytime without prior notice. It should then be easily updatable both ways via normal git methods. git repo within an IDE and provide its path in Settings | Languages & Frameworks | PHP | PHP Runtime | Advanced settings | Default stubs path. Relevant open issues Contribution process

Please note that currently there are no tests for the thrown exceptions so tags should be checked manually according to official docs or PHP source code We do not check whether a stub matches the actual extension or whether the provided descriptions are correct. The support for such “non-standard” stubs is community-driven, and we only validate their PHPDoc. (Non-Standard extensions are the ones that are not part of PHP Core or are not Bundled/External - see the complete list here.) Quality of most of these services depend on the quality of the stubs (basically their PHPDOC that the stubs for “non-standard” extensions are provided as is.

Stubs need to include complete PHPDOC, especially proper annotations.Īn IDE needs them for completion, code inspection, type inference, doc popups, etc. for all built-in PHP stuff and most standard extensions. STUBS are normal, syntactically correct PHP files that contain function & class signatures, constant definitions, etc.
