chishiki
chishiki

Reputation: 702

Laravel package development - How to install Illuminate Foundation without requiring laravel/framework?

I'm currently developing a Laravel package. The service provider of this package relies on magic methods config('my.config') and config_path('../my-config.php') defined in Illuminate/Foundation/helpers.php. PHPStorm notifies that it can't find these magic methods.

Things I tried:

Upvotes: 2

Views: 490

Answers (1)

chishiki
chishiki

Reputation: 702

I have required the Laravel framework as a dev dependency instead.

Upvotes: 2

Related Questions