The basic are two classes, SqlSplitter.php and the extension SqlSplitterCli.php. The first do the hard work while second provide an interface for command line and allow read the output stream pipe ...