---
title: "Discussion on \"Multi-Tenant Database Connection In Laravel\" | Hashnode"
description: "Discussion on \"Multi-Tenant Database Connection In Laravel\". Source Code\nMotivation behind this mini project: Many companies use one centralized database and a company-specific database. I have done this in core PHP with session but not in Laravel. So, I wanted to try this out in Laravel, and it was not easy &..."
url: "https://hashnode.com/posts/multi-tenant-database-connection-in-laravel/66dfec3a736ec39976353268"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Multi-Tenant Database Connection In Laravel](https://better-diwash.hashnode.dev/multi-tenant-database-connection-in-laravel?utm_source=hashnode&utm_medium=feed)

Source Code Motivation behind this mini project: Many companies use one centralized database and a company-specific database. I have done this in core PHP with session but not in Laravel. So, I wanted to try this out in Laravel, and it was not easy &...

Sep 10, 2024 · 9 min read · better-diwash.hashnode.dev  
Read the article

## Written by

[Diwash Mainali](https://hashnode.com/@diwashmainali)

@diwashmainali · Kathmandu, Nepal

  
[View profile](https://hashnode.com/@diwashmainali)

I am currently student who is studying Computer Science who just want's to learn and learn and learn.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
