Cutecom + PHP

hye guys i’m new here, i wanted to ask whether it is possible to execute cutecom in php through terminal and get the cutecom reply in php? if so, please share the idea. thanks