I have many SMS providers, each file system in a different directory. Within each provider directory, the main category Abstract Class Provider provides Abstract.php which is located in the file system and outside the provider directory.
I want to make each provider a separate composer package so that it can be developed, tested and independently deployed. The problem provider is the essence element that each provider extends ... What is the best way to do this situation?
In advance thanks
I do not know if this is the right way if you have an example monologue or swift mailer, they have" provider "inside a composer package. They can develop a provider, test them without deploying others and later deploy the entire package. If you decide to reduce your composer packages very little, you will end up very much over land.
However, if you want to go to it, you can extract yourself the intangible class in your composer package and all other packages are in the form of this dependency that way the PSR3 logger interface Is used.
No comments:
Post a Comment