Top "Laravel-helper" questions

Laravel includes a variety of global "helper" PHP functions.

Best Practices for Custom Helpers in Laravel 5

I would like to create helper functions to avoid repeating code between views in Laravel 5: view.blade.php <p&…

php laravel laravel-5 laravel-helper
Best Practices for Laravel 4 Helpers and Basic Functions?

I'm trying to understand the best place to put a global function in Laravel 4. For example, date formatting. I don't …

laravel laravel-4 laravel-blade laravel-helper
"Call to undefined function str_slug()" in Laravel 6.0

I've upgraded my laravel 5.8 project to 6.0. It has upgraded successfully but when I'm trying to run the project or installing …

laravel laravel-6 laravel-helper
After upgrading Laravel from 5.6 to 6.0, Call to undefined str_random() function not working

I have upgraded Laravel from 5.6 to 6.0. Previously, default helper functions were running fine on the controllers, but now it says "…

php laravel laravel-6 laravel-helper laravel-upgrade
Laravel URL helper: How to generate a perfect URL with query parameters and hash

Suppose the route is like this: Route::get('messages/{messages}', ['as' => 'messages.show', 'uses' => 'MessagesController@show']); So, …

php laravel laravel-4 url-helper laravel-helper