added laravel helper function support