We all have been there, done that.
You want to build an API that allows you to manipulate your entities so you start checking which specification to use. Maybe REST or JSON API or maybe no specification.
Learn how we managed to move fast and create a new Symfony application without breaking our old legacy session handling.
We write to our legacy session (which is file based) from our new project
which uses PDO
as the session storage.