AI Assistant in PhpStorm

Supercharge your IDE with JetBrains AI Assistant

With JetBrains AI Assistant, PhpStorm becomes more powerful and you’ll enjoy even more information available at your fingertips. Free yourself from repetitive tasks and stay in the flow like never before.

Local AI code completion Free

Enjoy full-line code completion with an AI that doesn’t send any of your data over the internet out of the box.

LLM-based code completion

AI Assistant learns your coding style along with the project’s context and naming conventions so that it can autocomplete single lines, functions, and entire blocks of code the same way you would.

AI chat

Iterate on a task, search for files, classes, and element usages, or ask almost anything – AI Assistant speaks your project’s language and is aware of its context, local changes, and version control system commits.

AI-generated documentation

Generate documentation for a declaration using the LLM on the fly.

Harness the power of JetBrains AI Assistant

Get a free 7-day trial or choose one of our plans for individual or organizational use.

1 / 2(Current Item: 1)

In-editor code generation

Ask AI Assistant to generate code directly in the editor.
1 / 2(Current Item: 1)

PHP test code generation

AI Assistant analyzes the context of a code segment to help generate unit tests for PHP methods.

AI-based error explanations in the console

Getting errors when running PHP scripts, unit tests, or commands from PHP frameworks and tools? AI Assistant will you give both: an explanation and a solution.

Refactoring

Use predefined or custom prompts for AI Assistant to explain code, find problems, and refactor your code with consideration for the project-specific context in PhpStorm.
Arvid Kahl
@arvidkahl

I'm a huge fan of having @phpstorm's AI assistant automatically write commit messages for me. It's quite impressive, really. It doesn't just talk about the code changes. It extracts the meaning of the code changes and how it will impact product behavior. This is very good.

Hamid Imomov
PHP Developer

I checked out AI Assistant and learned how it works. I feel as if I have a colleague sitting near me who has read many IT books and has a strong memory. Yes, it is going to be my assistant.

Alan Tucker
@alantucker

The use of @jetbrains AI Assistant in @phpstorm to generate commit messages is a game changer.

JetBrains AI

Supercharge your tools. Embrace new freedom.

AI Assistant for PhpStorm requires an additional JetBrains AI subscription.