TroopersAlertify comes with some librairies to ease use but it's free to you to use custom Library (feel free to make a Pull request, your library could interest community :). You just have to follow these steps :
troopers_alertify:
contexts:
front:
engine: "myOwnSystem"
layout: "bottomRight" \#it's up to your library
translationDomain: "messages"
Then just override app/Resources/TroopersAlertifyBundle/views/Modal/myOwnSystem.html.twig and add the alert initialization.