Howdy! I’m using mezzio in combination with swoole in a pretty good sized project right now. Recently I was having some issues with my authentication module in mezzio only to discover that one of the compounding problems was instantiating a new PDO connection with the mezzio authentication PDODatabase user repository factory. Not only this, I had to write a lot of extra custom queries to get the PDO Database adapter to work with my doctrine setup. Naturally, I decided to write my own user repository for mezzio-authentication. I’d really like feedback of any kind and or ideas on how this could be integrated with mezzio-authentication (possibly). I realize my code is somewhat opinionated, I’m not sure if it is too opinionated or not. Thank you in advance!
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Zend Expressive Authentication with doctrine | 4 | 1321 | January 3, 2022 | |
How do I configure Doctrine with Mezzio | 2 | 231 | March 26, 2024 | |
How to create Datarepository? Similary UserRepository | 0 | 278 | January 11, 2022 | |
Is it possible and necessary to build mysql connection pool in mezzio-swoole | 6 | 576 | June 28, 2021 | |
Doctrine Migrations do not work in Mezzio | 3 | 3211 | May 21, 2020 |