in reply to use Crypt::Eksblowfish::Bcrypt to create a password the same as password_hash in PHP

Hi again, I use Crypt::Eksblowfish::Bcrypt for password hashing, but only wrapped in Dancer2::Plugin::Passphrase, because I use the Dancer2 web application framework wherever possible. (What are you building on, btw?) So I am no expert at all, but the first place I would look is into what your PHP library is using for salting the hash.

Hope this helps!

The way forward always starts with a minimal test.