RouterBoard Captive Portal + External database MySql PHP

Hello,
i have a RouterBoard Wireless hardware.
I need to create a Capitve Portal with username and password.

Whe the user it’s connected to wifi i need to have a custom login page. Internal or external to mikrotik.

The username and password is on my hosting whit laravel + php +mysql.

The user can register new account for use the internet.

It’s possible ???

I have look at this link the info but i no understand all process.

https://mum.mikrotik.com/presentations/US15/michael.pdf


Thanks for help me.

di you faound an answer? I want to do the same thing