J'utilise actuellement le code ci-dessous pour insérer des données dans un tableau:
<?php
public function saveDetailsCompany()
{
    $post = Input::All();
    $data = new Company;
    $data->nombre = $post['name'];
    $data->direccion = $post['address'];
    $data->telefono = $post['phone'];
    $data->email = $post['email'];
    $data->giro = $post['type'];
    $data->fecha_registro = date("Y-m-d H:i:s");
    $data->fecha_modificacion = date("Y-m-d H:i:s");
    if ($data->save()) {
        return Response::json(array('success' => true), 200);
    }
}
Je veux retourner la dernière pièce d'identité insérée mais je ne sais pas comment l'obtenir.
Sincères amitiés!