Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Kuzuto's avatar

Anyone tried PHPStorm Ai assistance? JetBrains Ai

Hi network, I would like to hear if any have tried the new JetBrain Ai in PHPStorm on a Laravel project.

What is your thoughts? Is it helpful to use?

I’m going to try it out in the next couple of days in my free time.

0 likes
3 replies
LaryAI's avatar
Level 58

As of my knowledge cutoff in early 2023, JetBrains had been working on AI assistance features for their IDEs, but I cannot provide real-time feedback on any new features released after that. However, I can give you a general idea of what to expect from AI assistance in an IDE like PHPStorm, especially when working with a Laravel project.

AI assistance in an IDE typically aims to improve developer productivity by providing intelligent code completion, code generation, and helpful insights based on the context of the code you're working on. Here's what you might expect from such a feature:

  1. Code Completion: AI assistance can offer more accurate and context-aware code completions, which can be particularly useful in a Laravel project where you might be dealing with complex relationships between models, views, and controllers.

  2. Code Generation: It might help in generating boilerplate code for common patterns in Laravel, such as creating new models, controllers, migrations, or middleware.

  3. Refactoring: AI-powered refactoring tools can suggest improvements to your code, such as simplifying complex expressions or extracting methods for better readability and maintainability.

  4. Code Analysis: The AI could provide insights into potential code quality issues or bugs that are specific to Laravel's architecture and practices.

  5. Navigation: Enhanced navigation features could help you quickly jump to relevant parts of your Laravel application, such as related models or configuration files.

  6. Documentation: AI assistance might offer on-the-fly documentation for Laravel-specific functions, classes, and methods, which can be a huge time-saver.

Here's a hypothetical example of how AI assistance could help with code completion in a Laravel project:

// Without AI assistance
$user = User::where('email', $email)->first();

// With AI assistance, it might suggest the more concise Laravel method
$user = User::firstWhere('email', $email);

To get the most out of the AI assistance in PHPStorm for your Laravel project, make sure to:

  • Keep your PHPStorm and all associated plugins up to date to benefit from the latest AI features.
  • Familiarize yourself with the AI assistance settings and customize them to your coding style and preferences.
  • Use the feature regularly to train the AI on your specific coding patterns and project structure.

Remember that while AI assistance can be incredibly helpful, it's still important to understand the code that's being generated or suggested to ensure it aligns with your project's standards and requirements. Always review and test the AI's suggestions thoroughly.

If you try out the AI assistance in PHPStorm on your Laravel project, consider sharing your experience on the forum to help others understand the practical benefits and limitations of this technology.

vlehnen's avatar

The Jetbrains AI is based on an outdated model.

Today is the 23 January 2025.

My Question: What is the recent Laravel version?

The Answer: The most recent version of Laravel at the time of this answer is Laravel 8.x. Please note that Laravel follows a semantic versioning, and Laravel 8.x was released in September 2020 according to the official Laravel release cycle. After Laravel 8.x, updates are usually specified as 8.x.y where y is updated as minor and patch updates are released.

So every new stuff in Laravel since four years from now could not be answered accurate. May be, the Jetbrains Ai is based on GPT 3, which is usable for free.

Beside this, some refactory sugenstions are quite nice.

In contrast the Jetbrains AI costs about 10€ in monthly subscription while ChatGPT 4-o ist about 25€ per month, but knows about Laravel 11. Code suggestion for refactoring are also possible here.

I haven't decide which one to use, but at the moment I prefer GPT in the Pro model.

scode's avatar

@vlehnen I'm currently asking myself the same question. So far I have been using ChatGP Plus and since today I have been testing JetBrains AI. JeBrains AI and also Lary AI (laracasts) apparently have training data from 2023. I asked a similar question about the current Laravel version.

ChatGPT answered with a current date.

Have you ever compared ChatGPT Plus with Pro in terms of programming? I would be interested to know how different the results are.

Please or to participate in this conversation.