In this tutorial, we will explore how to use multiple Laravel Eloquent query builder conditions
Made by moses on 10/09/23
Enums allow developers to represent a limited and well-defined set of options and improve code readability, maintainability, and type safety.
In Laravel, app() is a handy helper function that gives you access to the service container. In this post we will explore some of ways you can use app()
Made by moses on 08/08/23
In Laravel traits are widely used to share functionality between different components of the application, such as models, controllers, and even middleware. In this tutorial, we will explore how to create and use traits in PHP and Laravel.
Ternary operations are essential in Eloquent queries as they help you handle conditional logic while building database queries in a succinct manner. By using ternary operations, you can avoid the need for separate if-else blocks in your query-building