Mautic Basic Authentication Through Rest Api
For the reference, here is the Mautic API Basic Auth docs:
https://developer.mautic.org/?php#basic-authentication
And here is how to use it with the PHP Mautic API Library:
https://github.com/mautic/api-library#using-basic-authentication-instead