Somehow HHVM breaks on the classname Zend_Pdf_Color_RGB, I guess HHVM is case sensitive when it comes to classnames. The trick is to rename it to Zend_Pdf_Color_Rgb since that is the proper classname.
Month: March 2015
So we have a project which has two different database connections. After having read on the web for a bit I didn’t run into the ideal solution to inserting into a table which was not in the default database. It turned out to be pretty simple though:
$id = DB::connection('other_database')->table('other_table')->insertGetId(array(
'name' => $name,
'email' => $email,
'created_at' => Carbon::now(),
'updated_at' => Carbon::now()