Back-end Tag

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....

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....

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....

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....

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....

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....

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....

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....