Tags

Here is all articles with back-end tag

Hidden Limits in External APIs That Can Break Your Application
back-end
September 20, 2026 • 8 minutes reading time

Hidden Limits in External APIs That Can Break Your Application

When working with external APIs, not every failure is caused by a bug in your code. Sometimes your code is completely correct, but the API has a limitation that you did not know about. These limitations can be especially difficult to find because the result may simply look like: the request did not work. # […]

Laravel numeric:strict vs numeric Validation Rules
back-end
September 7, 2026 • 8 minutes reading time

Laravel numeric:strict vs numeric Validation Rules

Laravel provides the numeric validation rule for checking whether a value is numeric. However, there is an important difference between numeric and numeric:strict. # The numeric Rule The standard numeric rule accepts values that PHP considers numeric. This means both integers and numeric strings can pass validation. This is useful when your request data comes […]

How to Get a PHP Enum Case from Its Value
back-end
August 26, 2026 • 8 minutes reading time

How to Get a PHP Enum Case from Its Value

PHP enums provide a clean way to represent a fixed set of possible values. When working with a backed enum, each enum case has an associated scalar value, such as a string or integer. A common situation is receiving a value from a database, API request, form, or another external source and needing to retrieve […]

PHP Object References: How to Use & References
back-end
August 16, 2026 • 8 minutes reading time

PHP Object References: How to Use & References

In PHP, you can create a reference to a variable using the & operator. A reference means that two variables point to the same value, so changing one variable can also affect the other. Here is an example of creating reference in PHP. In the code below $b is a reference to $a, means if […]

How To Remove a String Prefix Easily In Laravel
back-end
August 10, 2026 • 8 minutes reading time

How To Remove a String Prefix Easily In Laravel

Laravel provides many useful string helpers through the Illuminate\Support\Str class. One of them is Str::chopStart(), which makes it easy to remove a specific string from the beginning of another string. It is especially useful when working with prefixes such as URL paths, file names, namespaces, or other formatted strings. # What Is Str::chopStart() in Laravel? […]

Does Laravel Handle SQL Injection?
back-end
July 19, 2026 • 8 minutes reading time

Does Laravel Handle SQL Injection?

SQL injection is one of the oldest and most dangerous security vulnerabilities in web applications. If you’re building applications with Laravel, you may wonder: Does Laravel automatically protect against SQL injection, or do I need to implement additional security measures? The short answer is yes Laravel provides strong built-in protection against SQL injection when you […]

PHP final classes
back-end
July 13, 2026 • 8 minutes reading time

PHP final classes

Object-oriented programming in PHP gives developers powerful inheritance features. However, not every class is designed to be extended. That’s where the final keyword comes in. A final class explicitly tells PHP that this class cannot be inherited. It protects the class from being extended and helps preserve its intended behavior. When you declare a class […]

Extract Data from Multidimensional Array
back-end
April 23, 2026 • 8 minutes reading time

Extract Data from Multidimensional Array

#Introduction array_column is one of my favorite functions in PHP. When you are dealing with a multidimensional array and want to extract a specific piece of data from that structure, array_column is extremely helpful. By passing the array and specifying the key name, you can extract the values of that key separately from the original […]

How to redirect in a cleaner and readable way in Laravel
back-end
April 10, 2026 • 8 minutes reading time

How to redirect in a cleaner and readable way in Laravel

Learn the difference between Laravel to_route() and redirect()->route() and understand when to use each method in modern Laravel applications.