builder-extension icon indicating copy to clipboard operation
builder-extension copied to clipboard

[Feature]: When you add an external resource to your modules composer.json have it auto register in the service provider.

Open edster opened this issue 9 years ago • 1 comments

[Feature]: When you add an external resource to your modules composer.json have it auto register in the service provider.

Added to

"require": {
    "maddhatter/laravel-fullcalendar": "~1.0"
  }

have it auto register in the service provider

edster avatar Sep 17 '16 16:09 edster

Looking at laravel-fullcalendar project repo, this is a tricky one,

From the project docs,

Then register the service provider in your app.php config file:

'MaddHatter\LaravelFullcalendar\ServiceProvider',

And optionally create an alias:

'Calendar' => 'MaddHatter\LaravelFullcalendar\Facades\Calendar',

I'll need a way for the builder to reliably read such details for composer added packages, .. ideas?

I'll leave this open for a while in case I come across a solution or someone suggest an approach,

websemantics avatar Oct 03 '16 16:10 websemantics