reducing laravel dependency