Why not separating adapter as sub-package of phpmig/phpmig
For example, for codeigniter user, their not need Zend, Illuminate, Doctrine adapter, their can install specific adapter for codeigniter(only) like phpmig/phpmig-adapter-codeigniter, and package phpmig/phpmig-adapater-codeigniter will depends phpmig/phpmig as core.
with this methode, codeigniter user will haven't class Phpmig\Adapter\ {Zend, Illuminate, Doctrine} cause their installing spasific adapter for codeigniter (only).
also for zendframework user, their can installing specific adapter package like phpmig/phpmig-adapter-zend
and project tree of phpmig/phpmig-adapter-zend be like:
+-- src/
| +-- Adapter/
| +-- Zend/
| +-- (all adapter class for zf ) .php
+-- composer.json
Why not separating adapter as sub-package of phpmig/phpmig
For example, for codeigniter user, their not need Zend, Illuminate, Doctrine adapter, their can install specific adapter for codeigniter(only) like phpmig/phpmig-adapter-codeigniter, and package phpmig/phpmig-adapater-codeigniter will depends phpmig/phpmig as core.
then codeigniter user can install with:
project tree of phpmig/phpmig : (core)
And project tree of phpmig/phpmig-adapter-codeigniter :
and phpmig/phpmig-adapter-codeigniter/composer.json be like:
with this methode, codeigniter user will haven't class Phpmig\Adapter\ {Zend, Illuminate, Doctrine} cause their installing spasific adapter for codeigniter (only).
also for zendframework user, their can installing specific adapter package like phpmig/phpmig-adapter-zend and project tree of phpmig/phpmig-adapter-zend be like:
you can use it for each adapter. Thanks.