PHPackages                             tomschlick/townhouse - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. tomschlick/townhouse

AbandonedArchivedLibrary[Database &amp; ORM](/categories/database)

tomschlick/townhouse
====================

A Multitenancy package for Laravel that keeps each tenant in a separate database.

112208[2 issues](https://github.com/tomschlick/townhouse/issues)PHP

Since Jan 20Pushed 8y ago1 watchersCompare

[ Source](https://github.com/tomschlick/townhouse)[ Packagist](https://packagist.org/packages/tomschlick/townhouse)[ RSS](/packages/tomschlick-townhouse/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Townhouse
=========

[](#townhouse)

A Multitenancy package for Laravel that keeps each tenant in a separate database.

[![Latest Version on Packagist](https://camo.githubusercontent.com/76d735c94f2bc7fb6822295f8c404e8be1abaf13d55528fde0b6669dcb0e827b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f746f6d7363686c69636b2f746f776e686f7573652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tomschlick/townhouse)[![Build Status](https://camo.githubusercontent.com/e3384f05ba1c5521e6555f2d7e4bf12e976d64da2718313e93176288a7af228b/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f746f6d7363686c69636b2f746f776e686f7573652f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/tomschlick/townhouse)[![Quality Score](https://camo.githubusercontent.com/ae3acb114cab910c949cd5bdcaf2abb6aebe315e7ca1f634f9f90ebc5a470625/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f746f6d7363686c69636b2f746f776e686f7573652e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/tomschlick/townhouse)[![Total Downloads](https://camo.githubusercontent.com/817d8674287bedf20ae9c968a8b65265aed73900f7c7e7ce80411d8068c3295a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f746f6d7363686c69636b2f746f776e686f7573652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tomschlick/townhouse)

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require tomschlick/townhouse
```

Usage
-----

[](#usage)

```
//
```

Testing
-------

[](#testing)

```
composer test
```

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE) for more information.

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 97.4% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/70184?v=4)[Tom Schlick](/maintainers/tomschlick)[@tomschlick](https://github.com/tomschlick)

---

Top Contributors

[![tomschlick](https://avatars.githubusercontent.com/u/70184?v=4)](https://github.com/tomschlick "tomschlick (38 commits)")[![SelimSalihovic](https://avatars.githubusercontent.com/u/3939551?v=4)](https://github.com/SelimSalihovic "SelimSalihovic (1 commits)")

---

Tags

laravelmultitenancyphpphp7separate-database

### Embed Badge

![Health badge](/badges/tomschlick-townhouse/health.svg)

```
[![Health](https://phpackages.com/badges/tomschlick-townhouse/health.svg)](https://phpackages.com/packages/tomschlick-townhouse)
```

###  Alternatives

[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k116.5M113](/packages/jdorn-sql-formatter)[propel/propel1

Propel is an open-source Object-Relational Mapping (ORM) for PHP5.

8351.6M87](/packages/propel-propel1)[pgvector/pgvector

pgvector support for PHP

198628.3k10](/packages/pgvector-pgvector)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
