In this blog post, you'll learn 4 ways to share common variables or data across all views without manually passing them to each view.
Archives: Blog
How to Add Google Analytics 4 (GA4) Tracking Code to Laravel
If you want to add Google Analytics 4 tracking to your application without a package, this guide is for you. In 6 easy steps you can set up GA4 in your project.
In this tutorial you'll learn how to use Has-Many-Through in Laravel. Using a practical example I'll show you how to set up and access the relationships.
In this article, you'll learn to create and use a Many-to-Many relationship. As an example we'll build an application that allows students to enroll in courses.
In this tutorial, you'll learn how to use One-to-Many relationships in Laravel while building an example app that can associate an author with multiple books.
In this tutorial, you'll learn how to use one-to-one relationship in Laravel. To set this up we'll only need to add one line of code to each of the 2 classes.