Laraveldev.pro
SQL Joins allow you to combine records from two or more tables in a database based on a related column between them. In this post, we will take a closer look at how to implement the most common SQL joins
Made by moses on 27/06/24
sessions play a crucial role in web development, allowing developers to store and retrieve user-specific information across multiple requests. In this tutorial, we will explore the concept of sessions in PHP and delve into how Laravel
Made by moses on 15/01/24
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
In Laravel, the `tap()` helper function is a powerful utility that allows you to perform actions on a value within a callback function and then return that same value.
In this post, we will explore firsrOrNew() in Laravel. FirstOrNew() allows you to retrieve the first record that matches the given conditions from the database or creates a new instance of the model
In this tutorial, we will explore how middleware works in Laravel and how you can use it to add additional functionality to your applications.
Ngrok is a powerful tool that allows you to securely expose a web server running on your local machine to the internet. This is incredibly useful for testing web applications and APIs during development. It gives you a glance at the performance of your app in the real world.
Made by moses on 25/01/24