Using software to improve data management and output in phar