1

I'm currently working on two different yii2 project templates. Relevant with my question, those projects have the same set of models, and ahead of time, I know that those models can also be used in different yii2 applications. So I'm thinking if there are any ways, that the models can be a separate project / module that can just be imported / called / installed into different applications, and use it just like how we declare a namespace into a class? Is yii2 has a special pattern for that?

mkrieger1
  • 19,194
  • 5
  • 54
  • 65
Chisskarzz
  • 171
  • 2
  • 16

0 Answers0