adspace


How will you create a helper file in laravel?

Answer Posted / Harphool Jat

In Laravel, to create a helper file, create a new PHP file in the `app/Helpers` directory and add your custom functions. After that, register the Helper in `composer.json` under the `autoload` section and run `composer dump-autoload`.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How much laravel experience do you have?

815


Do you know what version of laravel do you generally use?

839


What is latest version of laravel?

869


What is current stable version of laravel?

870


Tell us have you used lumen before?

808