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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"name": "Afghanistan", | |
"dial_code": "+93", | |
"code": "AF" | |
}, | |
{ | |
"name": "Aland Islands", | |
"dial_code": "+358", | |
"code": "AX" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 = [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Git remove config: | |
====================== | |
git config --global --unset user.name | |
git config --global --unset user.email | |
git config username check | |
======================= | |
git config --list |