filipprober / laravel-tenancy
The skeleton application for the Laravel framework.
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 8
Watchers: 2
Forks: 2
Open Issues: 0
Type:project
pkg:composer/filipprober/laravel-tenancy
Requires
- php: ^8.1
- guzzlehttp/guzzle: ^7.2
- inertiajs/inertia-laravel: ^0.6.8
- laravel/framework: ^10.10
- laravel/sanctum: ^3.2
- laravel/tinker: ^2.8
- stancl/tenancy: ^3.8
- tightenco/ziggy: ^2.0
Requires (Dev)
- fakerphp/faker: ^1.9.1
- laravel/breeze: ^1.29
- laravel/pint: ^1.14
- laravel/sail: ^1.18
- mockery/mockery: ^1.4.4
- nunomaduro/collision: ^7.0
- pestphp/pest: ^2.0
- pestphp/pest-plugin-laravel: ^2.0
- spatie/laravel-ignition: ^2.0
README
This package allows you to run multiple websites using the same Laravel application while keeping tenant specific data separated for fully independent multi-domain setups.
Installation
Clone down the repository:
git clone https://github.com/filip-codes/laravel-tenancy.git laravel-tenancy
Install the dependencies:
cd laravel-tenancy
composer install
npm install
Copy the .env.example
file to .env
:
cp .env.example .env
Generate the application key:
php artisan key:generate
Set up your .env
file with your database credentials and run php artisan migrate
to create all central tables.
Change your central_domain
in the config/tenancy.php
file.