prototype on laravel