Search by

innoboxrr / domain-manager

Maintainers

Package info

github.com/innoboxrr/domain-manager

pkg:composer/innoboxrr/domain-manager

Transparency log

Statistics

Installs: 105

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

1.0.36 2026-08-22 16:30 UTC

README

Custom domains for multi-tenant Laravel applications.

Let every tenant bring their own domain. Domain Manager handles the registration, verification, routing and SSL bookkeeping so your application only has to answer one question: which tenant is this request for?

$tenant->domains()->attach('app.cliente.com');
// Verification, routing and tenant resolution are handled from here.

What it solves

Multi-tenant SaaS hits the same wall every time: tenants want their own domain, and suddenly you are hand-editing DNS, tracking verification state in a spreadsheet, and writing middleware that guesses the tenant from the Host header.

Domain lifecycle Attach, verify, activate and retire domains per tenant.
Automatic resolution Middleware resolves the tenant from the incoming host — no guesswork in controllers.
Verification DNS and file-based ownership checks with retry handling.
Primary + aliases One canonical domain per tenant, unlimited aliases redirecting to it.

Install

composer require innoboxrr/domain-manager
php artisan vendor:publish --tag=domain-manager-config
php artisan migrate

Add the resolution middleware to the group that serves tenant traffic, and point the wildcard DNS at your application.

Built by

Innobox R&R — extracted from production multi-tenant systems. Part of a catalogue of 52 open-source packages on Packagist and npm.

innobox.systems