🌐
JetBrains
jetbrains.com › help › phpstorm › php-8-support.html
PHP 8.0 | PhpStorm Documentation
June 26, 2024 - In PHP 8, throwing exceptions is allowed in all places where expressions are accepted, for example, in arrow functions, the coalesce operator ??, and the ternary operator ?:. PhpStorm provides a live template that lets you quickly add a throw expression.
🌐
JetBrains
jetbrains.com › help › phpstorm › supported-php-versions.html
Supported PHP versions | PhpStorm Documentation
January 8, 2026 - PHP coding assistance in PhpStorm includes support for the added features, syntax changes and deprecations in different PHP versions. The supported PHP language levels are: PHP 8.5 · PHP 8.4 · PHP 8.3 · PHP 8.2 · PHP 8.1 · PHP 8.0 · PHP 7, PHP 7.1, PHP 7.2, PHP 7.3, PHP 7.4 ·
Discussions

Implement support for PhpStorm PHP 8 Attributes
Feature description or problem with existing feature PhpStorm will provide a few custom attributes out of the box, that will replace phpDoc, and add the ability to specify the shape of an array etc. This would be very powerful to have in... More on github.com
🌐 github.com
1
October 26, 2020
ide - How can I set the PHP version in PHPStorm? - Stack Overflow
This is very useful when your local ... running PHP 5.5. That way PhpStorm will warn you which parts will not work in production, show proper hints during writing code according to the selected version, etc. ... Sign up to request clarification or add additional context in comments. ... What version do you use? I don't have that option in mine. 2014-09-10T10:21:27.857Z+00... More on stackoverflow.com
🌐 stackoverflow.com
How can I set PHP 8.1 in PhpStorm? - Stack Overflow
I wanted to change PHP version in PhpStorm to 8.1 but only 8.0 is available in settings. How can I solve this? I've tried to synchronize it with composer.json (there is 8.1) but it did not help. More on stackoverflow.com
🌐 stackoverflow.com
PHP 8 Support
I haven't used the PHP 8 support extensively, but the PHP 8 features are in 2020.3 (currently at RC/release candidate) PHP 8 Full support for all new PHP 8 features, with inspections to highlight incorrect usage and quick-fixes for migrating your codebase. Several custom PHP 8 Attributes are already available in the IDE, including #[Deprecated], #[ArrayShape], #[Immutable], #[Pure], #[ExpectedValues], and #[NoReturn]. https://blog.jetbrains.com/phpstorm/2020/11/phpstorm-2020-3-beta/ More on reddit.com
🌐 r/phpstorm
2
7
November 26, 2020
🌐
JetBrains
blog.jetbrains.com › phpstorm › 2022 › 10 › phpstorm-2022-3-early-access-3-support-for-php-8-2
PhpStorm 2022.3 Early Access #3: Support for PHP 8.2 | The PhpStorm Blog
January 9, 2024 - We’ve added full support for one of the most anticipated features of the upcoming PHP 8.2 release. There is a quick-fix to convert a class with only readonly properties to a readonly class, but we also added inspections to make sure that readonly classes can only have readonly children, we detect redundant readonly properties in readonly classes, and we made sure that PhpStorm knows about prohibited static and dynamic properties in readonly classes.
🌐
JetBrains
blog.jetbrains.com › phpstorm › tag › php-8
PHP 8 : The PhpStorm Blog | The JetBrains Blog
April 22, 2020 - This major release includes support for PHP 8 Union Types, a new control flow engine for PHP, full GitHub pull requests workflow support right inside the IDE, a brand-new Inspection widget, OpenAPI support via a plugin, and more. Download PhpStorm 2020.2 Read on t…
🌐
JetBrains
blog.jetbrains.com › phpstorm › 2023 › 11 › phpstorm-now-supports-php-8-3
PhpStorm Now Supports PHP 8.3 | The PhpStorm Blog
PhpStorm now provides full support for PHP 8.3 feature: the new `#[Override]` attribute and `json_validate()` function, and more!
Published   September 17, 2025
🌐
GitHub
github.com › bmewburn › vscode-intelephense › issues › 1476
Implement support for PhpStorm PHP 8 Attributes · Issue #1476 · bmewburn/vscode-intelephense
October 26, 2020 - Feature description or problem with existing feature PhpStorm will provide a few custom attributes out of the box, that will replace phpDoc, and add the ability to specify the shape of an array etc. This would be very powerful to have in...
Author   thomas-alrek
🌐
GitHub
github.com › JetBrains › phpstorm-attributes
GitHub - JetBrains/phpstorm-attributes: PhpStorm specific attributes · GitHub
Use these PHP 8 attributes in PhpStorm to get more advanced code completion and analysis.
Starred by 414 users
Forked by 11 users
Languages   PHP
Find elsewhere
🌐
JetBrains
blog.jetbrains.com › phpstorm › 2022 › 12 › phpstorm-2022-3-whats-new
PhpStorm 2022.3: PHP 8.2, New UI (Beta), Code Vision, Redis Support, Quick-Fixes Preview, and More | The PhpStorm Blog
December 6, 2022 - PhpStorm 2022.3 is now available! This major update brings a preview of the new UI, complete PHP 8.2 support, Redis support in database tools, Code Vision for PHP, quick-fix preview, Xdebug config
🌐
JetBrains
blog.jetbrains.com › phpstorm › 2025 › 12 › phpstorm-2025-3-is-now-out
PhpStorm 2025.3 Is Now Out | The PhpStorm Blog
January 22, 2026 - Welcome to PhpStorm 2025.3! This release brings native Claude Agent integration, out-of-the-box Laravel support, support for PHP 8.5, improvements in generics, a new Islands theme, and more.
🌐
JetBrains
blog.jetbrains.com › phpstorm › 2020 › 07 › phpstorm-2020-2-release
PhpStorm 2020.2: PHP 8 Union Types, New Control Flow Engine, GitHub Pull Requests, OpenAPI, Extract Class Refactoring | The PhpStorm Blog
July 31, 2020 - PhpStorm 2020.2 is now available! This major release includes support for PHP 8 Union Types, a new control flow engine for PHP, full GitHub pull requests workflow support right inside the IDE, a bran
🌐
GitHub
github.com › JetBrains › phpstorm-stubs
GitHub - JetBrains/phpstorm-stubs: PHP runtime & extensions header files for PhpStorm · GitHub
The set of extensions enabled by default in PhpStorm can change anytime without prior notice. To learn how to view the enabled extensions, look here. Execute docker compose -f docker-compose.yml run test_runner composer install --ignore-platform-reqs · Execute docker compose -f docker-compose.yml run -e PHP_VERSION=8.0 test_runner vendor/bin/phpunit --testsuite PHP_8.0
Starred by 1.4K users
Forked by 824 users
Languages   PHP
🌐
Reddit
reddit.com › r/phpstorm › php 8 support
r/phpstorm on Reddit: PHP 8 Support
November 26, 2020 -

Does PHPStorm fully support PHP 8 at the moment?

I've seen mention of union types and attributes in some of the release notes so presumably they're good to go.

When I refactor a constructor to use property promotion it's flagged as a syntax error.

I have the language level set to "8.0 (union types)" and my composer.json file is requiring php:^8.0, but I'm not able to set the CLI Interpreter to PHP 8 yet because Homebrew hasn't released their package yet (I'd rather not get into building it from source).

I realise it's early days, so if it's not ready then that's okay, but I was wondering whether I had missed something.