Skip to content

Question: Packages #450

Open
Open
@plunkettscott

Description

@plunkettscott

The packages config item in this Laravel package is the current way we list the packages to be registered with the laravel-json-api package. However, I am wanting to keep people out of the base application config now, unless they truly understand what they are doing. The application is supposed to be extensible, but complete.

Our modular application takes extensions that are registered at run-time via a service provider. Is there a way we can dynamically register packages with the laravel-json-api package that I'm not seeing? I've looked through various pieces and don't quite see how it's happening. I haven't spent much time on it, hoping there was some gem of a method somewhere to allow me to pass a package resolver to it and register it with the application.

Right now, the only thing I can think of is to dynamically set the config key at run-time, which is less than ideal.

Thanks for your help!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions