Use of PHP Class

Hi everyone,
I’ve a PHP class for driving a POS printer that works correctly. Is possible use it in SC?
Thanks