Symfony plugin prompting to activate on Laravel project
See original GitHub issueI 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:
- Created 2 years ago
- Comments:5 (1 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
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.
@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