I need to integrate echosign api to my yii2 advance application.
What is the folder structure for 3rd party API in YII2 ?
Where can i maintain api files?
What is the best practice for this?
This is obvious that, the third party api goes to vendor directory by default.
For the api,
dont know much but i think i have a reason to answer, that you have created, this can be placed anywhere as per the frequency of usage. If those apis are used from both back-end and front-end, then maintaining minimum api standard, we can place in common directory. Or, we can create a directory named api under application structure, and hence creating a custom alias for those apis that can be communicable.