1. To start of with a helper, create a folder called Helpers in the app folder.
2. Create a new file in this folder and call it MyFirstLaravelHelper.php
3. Create a new file in the app\Providers and call it HelperServiceProvider.
4. Fill the HelperServiceProvider with some code to make it autoload all the helpers in the app\Helpers folder.

5. Now we need to activate this one, open up config/app.php, add “`App\Providers\HelperServiceProvider::class“` to the list of ServiceProviders.
6. Open up your MyFirstLaravelHelper.php file
7. Put the following code in it: