1: create a helper file. Go to app/ directory and create a file called helpers.php
2: Create the assistance function.
3: Add it to our composer.json file.
4: Refresh the app's list of all available classes. autoload-dump-composer
1 Create a Laravel project. I am assuming that you already installed laravel with the help of the composer.
2 To make a custom helper function, create a Helper File.
3 Construct a Provider.
4 Configure the Provider.
5 The controller makes a call.
6 Message from View (Blade)
Custom helpers are simple functions that allow you to add your own functionality to the framework. They are a great way of adding some custom logic or functionality that is not built into Laravel out of the box.
A helper function is a function that assists another function in its computation. By giving computations descriptive names, helper functions make your programmes easier to read. They also, like functions in general, allow you to reuse computations.
Learner's Ratings
4.4
Overall Rating
81%
3%
6%
6%
4%
Reviews
A
Abdul Sattar
5
Please update course
A
Ali Haidar
5
awesome
M
Muzammal
5
Best Experience Ever
J
Jatin
5
this tutorial help me to learn laravel ..
Outstanding Course
G
gautam metaliya
5
good experiance
B
bokhtiar toshar
5
Thank you so much,
A
Anuj Tyagi
5
Thank you so much. You are doing a good job and your way of teaching is very good.
M
mohit mistry
5
Sir, very good explanation in video but sir which screen recoder you used for making this kind of video???
R
RUPESH MISHRA
5
sir please make a video how to use bootstap in laravel without cdn link..
Share a personalized message with your friends.