Back-end Tag

Laravel with(): How to Solve the N+1 Problem with Eager Loading Relationships's featured image

Laravel with(): How to Solve the N+1 Problem with Eager Loading Relationships

Eloquent ORM makes it easier to access the database. ORM, or Object-Relational Mapping, is a programming technique for converting data between a Relational Database Management System (RDBMS) and an object-oriented programming language....

Published on
Create Global Query With Laravel Global Scope's featured image

Create Global Query With Laravel Global Scope

In backend development, sometimes we want the data to be retrieved with default query. For example, when we want to get all users data, we want our app retrieve only active users by default....

Published on
Create Login With Google OAuth Using Laravel Socialite's featured image

Create Login With Google OAuth Using Laravel Socialite

For some webs, authentication is one of the most important thing. And maybe sometimes our websites also need to easily gain more engagement by eliminating a bit hassle by letting users login to the web easily using their other platform account....

Published on
Laravel Api Documentation Generator With OpenAPI/Swagger Using DarkaOnLine/L5-Swagger's featured image

Laravel Api Documentation Generator With OpenAPI/Swagger Using DarkaOnLine/L5-Swagger

In a team project, documentation become so important so everyone know what we have created, how we think, how it can solve our problem, how to use it, etc....

Published on
Laravel Rest API Authentication Using JWT Tutorial's featured image

Laravel Rest API Authentication Using JWT Tutorial

If we work with a microservice architecture, non-monolith project, then we will see our project have it’s backend and frontend separated....

Published on
Send SMS From Laravel App Using Vonage's featured image

Send SMS From Laravel App Using Vonage

Maybe right now you need to send an SMS via Laravel app. There are some Laravel packages that can connect to third-party service that can handle SMS notification such as Vonage or Twilio....

Published on
Send Slack Notifications From Laravel App's featured image

Send Slack Notifications From Laravel App

Slack is a messaging app that generally used by companies. Even Slack call their app as a Digital HQ for companies....

Published on
Create Reusable Query With Laravel Query Scope's featured image

Create Reusable Query With Laravel Query Scope

One of the best feature Laravel have is Laravel Eloquent ORM. Using Eloquent ORM is easy and it can makes our query simpler, cleaner than Query Builder but sometimes it can also be so long, and maybe we need to reuse the query too....

Published on