I needed to call a routine with Laravel but I encountered the MySQL "Packets out of order" error.
I've found an answer on this StackOverflow question : $db->setAttribute(PDO::ATTR_EMULATE_PREPARES, true);
I have created a trait that can call a stored procedure and log it in Debugbar :
<?php
namespace App\Models\Traits;