For example:
abc.com
There's a registration/login authentication build in Codeigniter using REST API
somename.bm
Again there's a registration/login authentication build in Laravel using same ^ REST API
Both these domains uses same concept of authentication of the user and even after login, most of the pages are same (expect for the data we choose to display and css).
Now my simple question is, is there any way where I can have a common code where both these websites access the same controller and somehow I differentiate the call and then simply call the REST API to access the data and display accordingly.
Again, if I miss something or need further elaboration, feel free to contact me here.