imliam / php-unique-gmail-address

A package to ensure that a Gmail address is unique
MIT License
68 stars 4 forks source link

usage of laravel rule #8

Closed stephanus-tantiono closed 1 year ago

stephanus-tantiono commented 3 years ago

Hi, I'm trying to use this at my validator,

'email' => [new UniqueGmailAddressRule()]

but it doesnt work, example : example@gmail.com; ex+ample@gmail.com still pass

imliam commented 1 year ago

I've just tested the generated query in a MySQL database and it appears to be working as intended. Are you using a different database driver or different structure for the users table (users table, email column)?

Feel free to open a new ticket if this is still an issue.