Run console commands against a database from within a PHP application