I’ll split my answer into two parts. The first part describes how your problem occurred, the second part is the actual answer to your issue. Description Disclaimer: Most of my description is basically speculation, as I cannot really know what you did. But it’s the most likely scenario, as I cannot think of another way …
Integrate Craft CMS with MVC frameworks
CraftCMS provides API to provide its contents to third parties. This functionality is very useful in large scale projects. We can develop core engines using MVC frameworks and store various contents in Craft CMS. We can fetch those contents by using APIs provided by Craft CMS and display it in MVC frameworks like Laravel.