first hook to laravel server