Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Workshop Modules #150

Open
AydinHassan opened this issue Dec 27, 2016 · 0 comments
Open

Workshop Modules #150

AydinHassan opened this issue Dec 27, 2016 · 0 comments

Comments

@AydinHassan
Copy link
Member

Introduce the concept of modules.

This would allow for modules, think third party checks/results to introduce container bindings.

We could make this a manual process, for example

$app->registerModule(SomeModule::class);

SomeModule::class would be an entry point class which would implement something like ModuleInterface and would define methods to retrieve DI config and other stuff.

Or:

We could use some composer events to automatically register modules somehow based on a package type. eg php-school-module

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant