How to integrate Duo Two Factor Authentication with CakePHP3

So recently I wanted to integrate Duo two factor authentication to one of the client’s projects but I didn’t find much documentation…