Hi there, I have joined a company in the UK as the sole developer – strangley enough I have the position of junior developer (it pays good money so I don't mind).
The job has a LOT of work, but one of my tasks is migrating code generated with WebSite X5 to a new framework, laravel.
There's a lot of code and it needs to be moved as soon as possible. I just want people's opinions, I've setup a project using Laravel Sanctum and added middleware to attach the bearer token to the header from the session data – mainly so when we develop mobile applications my rest api will function.
I've started by setting up a Legacy controller and added a routes files to redirect all urls that haven't been defined, I'm currently in the process of downloading the code base, and will put it in a folder than call ob_start.
Will I encounter any issues or conflicts with sessions? I'm planning on editing X5's code regarding authentication and replacing it with my own, maybe by overriding the functions and attributes of the user object in x5.
Does anyone think I'll encounter any issues doing this? Would be good to get a more experienced developers opinion as I want to do this the right way.
submitted by /u/anti-food