idea-php-laravel-plugin icon indicating copy to clipboard operation
idea-php-laravel-plugin copied to clipboard

Feature Request: support config files in directories

Open marvinschroeder opened this issue 5 years ago • 1 comments

Please add support for configuration files nested in directories like config/modules/messages.php

Which could be requested with $foo = config('modules.messages.foo');

Saw #169 but with Laravel 6.x and Laravel plugin 0.15.4 and phpStorm 2019.3 it is not working.

marvinschroeder avatar Dec 20 '19 14:12 marvinschroeder

OK, it works.. But it ignores always the first item of the config array, if this item is an array..

So when using config('messages.attachments.allowed_extensions') this is recognized by the plugin:

return [
    'attachments' => [
        'allowed_extensions' => 'test',
    ],
];

This is not recognized by the plugin:

return [
    'attachments' => [
        'allowed_extensions' => ['test', 'test1'],
    ],
];

marvinschroeder avatar Dec 20 '19 14:12 marvinschroeder