question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Symfony plugin prompting to activate on Laravel project

See original GitHub issue

I got a pop-up at the bottom right of PHPStorm when I opened my Laravel project…

6/21/21 9:17 AM Symfony: Enable the Symfony Plugin with auto configuration now, open Project Settings or dismiss further messages

Shouldn’t it be smart enough to read a composer.json file and realize that it’s not Symfony?

{
    "name": "laravel/laravel",
    "type": "project",
    "description": "The Laravel Framework.",
    "keywords": [
        "framework",
        "laravel"
    ],
    "license": "MIT",
    "require": {
        "php": "^7.3|^8.0",

I mean, even without a composer.json… the plugin (or PHPStorm) should be smart enough to identify whether it’s Symfony or not.

Any thoughts?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
givihudacommented, Jan 25, 2022

That doesn’t explain why I get the prompt on custom framework projects (meaning, not a standard framework like Laravel).

Regardless, I discovered that the custom project has a package that includes symfony in vendor… so that explains that at least.

0reactions
andrew-dembcommented, Jan 21, 2022

@givihuda Laravel extends some of the Symfony components and it means, that the Symfony plugin can be pretty useful for Laravel projects too.

Here is the logic, how plugin decides to show a notification https://github.com/Haehnchen/idea-php-symfony2-plugin/blob/6556c6fdd8540b9173275b97ac620ba434d34edb/src/main/java/fr/adrienbrault/idea/symfony2plugin/Symfony2ProjectComponent.java#L131-L134

Read more comments on GitHub >

github_iconTop Results From Across the Web

Symfony | IntelliJ IDEA Documentation - JetBrains
Press Ctrl+Alt+S to open the IDE settings and select Plugins. · Switch to the Marketplace tab and use the search field to find...
Read more >
The Console Component (Symfony Docs)
The Console component eases the creation of beautiful and testable command line interfaces. The Console component allows you to create command-line commands.
Read more >
Setup a Laravel existing project - php - Stack Overflow
I'm trying to install an existing Laravel project by running a "composer ... Composer\Plugin\PluginManager->addPlugin(Object(Symfony\Thanks\ ...
Read more >
Artisan Console - Laravel - The PHP Framework For Web ...
Introduction. Artisan is the command line interface included with Laravel. Artisan exists at the root of your application as the artisan script and...
Read more >
Composer v2.2 prompts to authorize plugins - Drupal
Problem/Motivation Composer v2.2 includes a new security feature https://getcomposer.org/doc/06-config.md#allow-plugins As of Composer 2.2.0 ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found