Learn how to share users between Wordpress and Laravel
Alessandro Mangiameli wrote a tutorial on how to share users between Laravel and Wordpress.
This week I was working on a project that requires to upgrade a Wordpress-based system to a Laravel 5.3 based one. The Wordpress platform has already a huge number of users that should maintain their login credentials on the new Laravel system. The problem I came across was that on the Laravel-based system I adopted the great Sentinel package by Cartalyst, that by default uses a different hashing strategy for passwords from Wordpress. So importing users from Wordpress to Laravel passwords simply don’t match and users couldn’t be able to authenticate.
Link: