imliam / php-unique-gmail-address

A package to ensure that a Gmail address is unique

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

usage of laravel rule

stephanus-tantiono opened this issue · comments

commented

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

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.