how to create custom helper function in laravel 6.2