https://github.com/engsahaly/mtenancy_custom_single
Laravel Multi Tenancy | Custom Implementation | Single Database Approach | Course Files on Udemy
https://github.com/engsahaly/mtenancy_custom_single
laravel laravel-framework laravel11 multi tenancy
Last synced: 27 days ago
JSON representation
Laravel Multi Tenancy | Custom Implementation | Single Database Approach | Course Files on Udemy
- Host: GitHub
- URL: https://github.com/engsahaly/mtenancy_custom_single
- Owner: engsahaly
- Created: 2024-08-03T18:07:07.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2025-01-30T04:47:31.000Z (over 1 year ago)
- Last Synced: 2025-02-08T20:19:54.867Z (over 1 year ago)
- Topics: laravel, laravel-framework, laravel11, multi, tenancy
- Language: PHP
- Homepage: https://www.udemy.com/course/laravel-multi-tenancy/?referralCode=3061E518F49BF9D32B65
- Size: 146 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Laravel Multi Tenancy | Custom Implementation | Single Database Approach | Course Files on Udemy
**Created By :** Mahmoud Anwar
**Email :** Engsahaly@gmail.com
This is the main readme file for the code used in laravel multi tenancy course on Udemy
## Installation
To get started, clone this repository.
```
git clone https://github.com/engsahaly/mtenancy_custom_single.git
```
Next, copy your `.env.example` file as `.env` and configure your Database connection.
```
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=YOUR-DATABASE-NAME
DB_USERNAME=YOUR-DATABASE-USERNAME
DB_PASSWORD=YOUR-DATABASE-PASSWROD
```
## Run Packages and helpers
You have to all used packages and load helpers as below.
```
composer install
npm install
npm run build
```
## Generate new application key
You have to generate new application key as below.
```
php artisan key:generate
```
## Run Migrations and Seeders
You have to run all the migration files included with the project and also run seeders as below.
```
php artisan migrate
```