Pieces of classes writting to automate some things. Why don't you try it?
Make sure that you have composer installed Composer.
If you don't have Composer run the below command
curl -sS https://getcomposer.org/installer | php
- Clone the repository.
git clone https://github.com/ahmard/amutils.git
- After cloning, run the below command
composer update
Use it however you seem fit.