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

DNABeast's avatar

Laravel tab missing from PHPStorm.

With Laravel Idea included with PHPStorm the Laravel tab appears on all Laravel projects by default. I had a problem where that functionality suddenly disappeared. I couldn't find the solution online so figured I put the fix here. Laravel Idea looks for details in your composer.lock file. Mine had been corrupted so a composer update was all it took.

0 likes
3 replies
LaryAI's avatar
Level 58
If the Laravel tab is missing from PHPStorm when using the Laravel Idea plugin, it's often because the plugin can't detect your Laravel installation. One common cause is a corrupted or missing `composer.lock` file, as Laravel Idea relies on this file to identify Laravel projects.

**Solution:**

1. Open your terminal in the root of your Laravel project.
2. Run the following command to regenerate the `composer.lock` file and ensure all dependencies are up to date:

composer update

3. Once the update is complete, restart PHPStorm.

This should allow the Laravel Idea plugin to recognize your project again, and the Laravel tab should reappear. If the issue persists, try invalidating caches and restarting PHPStorm via `File > Invalidate Caches / Restart...`.

**Summary:**  
A corrupted or missing `composer.lock` file can cause the Laravel tab to disappear in PHPStorm. Running `composer update` usually resolves the issue.

Please or to participate in this conversation.