DEV Community

ARK DEV SOLUTIONS
ARK DEV SOLUTIONS

Posted on

1

How to Setup Multi Tenant App in minutes with Laravel PART 2

Now your first multitenancy app is ready to go live and you can test on local but for that you need to create a TenantController from where you can register the tenants

Image description

this will be basic code you can modify it for more stuff as per your requirements

now you will need to modify your route service provider if you havent set it accordingly

Image description

now you can set you web.php and tenant.php file accordingly

web.php
Image description

tenant.php

Image description

Now your app is up and ruining please make modification as per your requirements

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more