At this moment the docs are very vague about this, searching “mysql_insert_id” won’t return anything but if you look through the docs you’ll find multiple ways to get that id:
$id = DB::connection('mysql')->pdo->lastInsertId();
With insert_get_id() method that works with Fluent or Eloquent objects(will work only if the name of the auto-incrementing column is “id”):
$id = DB::table('users')->insert_get_id(array('name' => 'John Doe'));
With Eloquent’s create() method, which returns the model instance for the newly inserted record, or false if the insert failed.
$user = User::create(array('name' => 'John Doe')); $user->id;