Simple php infrastructure to support multi-tenancy

I am looking for a PHP-based framework that is ready to go with the following functions 1. Simple control panel with login / output 2. Several databases with each db representing the client. Just the basic structure. 3. Simple registration support

Use case: I boot from github and deploy to the server. Suppose the server is configured for dns and more.

I create a user through registration - a new db and a tenant folder created on the server are created

Then i can access

tenant1.stckoveawesm.com

tenant2.stckoveawesm.com

each of which connects to a different db. Suppose: * .stckoveawesm.com is mapped to the server hosting the framework.

I know that there is a code igniter, Zend and Symphony, which supports the framework. I am looking for a library / framework ready to go. A shell code that can just do the trick with min. configurations.

+4
source share
1 answer

I finally managed to do something using the Laravel framework and posted on github for people who can help and improve. Anyone wants to file and help the plug and let me know so that I can work together. https://github.com/sseshachala/laravel-multi-tenant

+3
source

All Articles