1 min read
Laravel is a wonderful framework, however the default settings make it difficult to use for more than one domain at the same time.
A multi tenant site is one that uses the same codebase to serve data to multiple clients. A very popular example of this is slack.
A multi tenant site will usually require that each tenant accesses the site from a unique url, and this causes problems because laravel by default, does not permit this behavior.
The
APP_URL
set in the.env
file is used to generate the routes, the asset urls, and many other things and by default, there is no way to set multiple urls.To allow us to use multiple domains, we will have do a some customisations.
Continue reading: How to build a multi tenant site with Laravel ― Scotch
WordPress is a very popular and flexible Content Management System (CMS). If you build websites, you are likely to have worked with (or had someone a...
6 min read
Tailwind CSS is a great CSS framework. Utility first, fully customizable and just a pleasure to use. I had been seeing it around and wanted to try it...
4 min read
Comments