The best programming to do a code is "To make common function". So that we can use that function again and again. For this laravel provide Libraries. We can make a file in libraries folder and define our common function in that library and use that function again and again by just calling a function when ever we need to implement in our code.
Example
app/libraries/karmaHelper.php
In karmaHelper.php you can define your common function which will reuse again and again.
0 Comment(s)