Sounds like you already did most of hard part, which is writing the session handler.
To port it to laravel, you would need to match the expected laravel functions. Take a look at the docs as it has a example service provider and skeleton class, https://laravel.com/docs/5.1/session#adding-custom-session-drivers
Or better yet, review a full code example, such as https://github.com/itvisionsy/laravel-elastic-session
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community