Skip to content

Instantly share code, notes, and snippets.

View sm-jahangir's full-sized avatar
🎯
Full-Stack Web Developer.

Jahangir Alam sm-jahangir

🎯
Full-Stack Web Developer.
  • bangladesh
View GitHub Profile
@sm-jahangir
sm-jahangir / multi-tenancy.md
Created March 13, 2025 10:42 — forked from Hegabovic/multi-tenancy.md
Full Guide for Multi-tenancy with tenancy with laravel package

TenancyWithLaravel

Full Guide Multi-Tenancy Implementation

Multi-Tenancy Implementation With Multi-Database Approach

Introduction

After conducting an extensive two-week search for a comprehensive guide on implementing multi-tenancy within my SaaS project, I regrettably found no fully documented resources. Consequently, I resorted to seeking assistance through Filament's support channels, where I received invaluable assistance from knowledgeable individuals.

@sm-jahangir
sm-jahangir / CountryCodes.json
Created January 10, 2023 03:55 — forked from anubhavshrimal/CountryCodes.json
Country and Dial or Phone codes in JSON format
[
{
"name": "Afghanistan",
"dial_code": "+93",
"code": "AF"
},
{
"name": "Aland Islands",
"dial_code": "+358",
"code": "AX"
@sm-jahangir
sm-jahangir / laravel-localization.php
Last active November 9, 2022 04:00
change laravel language system this method
1. create language file in lang folder
en.json, jpn.json, ko.json, hi.json..
jpn.json->{"Log in": "ログイン", "Register": "登録", etc...}
2. create controller and middleware for localization
-> $ php artisan make:middleware Localization
-> $ php artisan make:controller LocalizationController
3. declare localization middleware in kernel.php
protected $middlewareGroups = [
Git remove config:
======================
git config --global --unset user.name
git config --global --unset user.email
git config username check
=======================
git config --list