Tagged articles
5 articles
Page 1 of 1
php Courses
php Courses
Apr 8, 2024 · Backend Development

Creating Custom Helper Functions in Laravel 11

This tutorial walks through installing Laravel 11, creating a helpers.php file with reusable functions, registering it via composer.json, adding a route to test the helpers, and finally running the application, providing a complete guide to enhancing code reuse and maintainability in a Laravel backend project.

Backend DevelopmentComposerLaravel
0 likes · 6 min read
Creating Custom Helper Functions in Laravel 11
php Courses
php Courses
Nov 17, 2020 · Backend Development

Common Helper Functions for Hyperf

This article presents a collection of frequently used Hyperf helper functions for PHP developers, including shortcuts for accessing the container, Redis client, Swoole server, WebSocket frame, cache, logging utilities, request and response objects, all demonstrated with complete code examples.

helper functions
0 likes · 2 min read
Common Helper Functions for Hyperf
Laravel Tech Community
Laravel Tech Community
Jun 24, 2020 · Backend Development

Laravel Array Helper Functions: Usage and Examples

This article provides a comprehensive guide to Laravel's array helper functions, illustrating how to add, merge, retrieve, filter, and manipulate array data with practical PHP code examples for functions such as array_add, array_collapse, array_divide, array_dot, array_except, array_first, array_last, array_flatten, array_forget, array_get, array_has, array_only, array_pluck, array_prepend, array_pull, array_random, array_set, and array_sort.

ArrayBackendhelper functions
0 likes · 7 min read
Laravel Array Helper Functions: Usage and Examples
Python Programming Learning Circle
Python Programming Learning Circle
Jul 6, 2018 · Backend Development

Boost Laravel Productivity: 5 Must‑Know Helper Functions

This article introduces five essential Laravel helper functions—data_get, str_plural, route, abort_if, and optional—explaining their usage with code examples, default values, wildcard support, URL generation, conditional exception handling, and safe property access to streamline backend development.

Backend DevelopmentLaravelPHP
0 likes · 7 min read
Boost Laravel Productivity: 5 Must‑Know Helper Functions