orm orm in php and using mysql To execute the Generator.php in command line Enter : php Generator.php dbhost dbname dbuser dbpassword tablename classname Example : php Generator.php localhost mydatabase root root users users