{"id":15946563,"url":"https://github.com/inmanturbo/teams-app","last_synced_at":"2025-10-19T06:30:55.960Z","repository":{"id":65726236,"uuid":"597261129","full_name":"inmanturbo/teams-app","owner":"inmanturbo","description":"Laravel jetstream template with teams based multitenancy","archived":false,"fork":false,"pushed_at":"2023-12-05T16:18:59.000Z","size":3525,"stargazers_count":4,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-31T14:59:33.836Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/inmanturbo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-02-04T01:55:29.000Z","updated_at":"2023-12-02T06:33:35.000Z","dependencies_parsed_at":"2023-02-19T20:31:32.823Z","dependency_job_id":null,"html_url":"https://github.com/inmanturbo/teams-app","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inmanturbo%2Fteams-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inmanturbo%2Fteams-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inmanturbo%2Fteams-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inmanturbo%2Fteams-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/inmanturbo","download_url":"https://codeload.github.com/inmanturbo/teams-app/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237073135,"owners_count":19251036,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-07T09:22:23.057Z","updated_at":"2025-10-19T06:30:50.144Z","avatar_url":"https://github.com/inmanturbo.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Please see https://github.com/inmanturbo/b2bsaas For a simplified, improved and updated version of this teams app. In The future inmanturbo/b2bsaas will likely be renamed to inmanturbo/teams-app! \n\n\n# The Source Code of TeamsApp\n\n![Tests](https://github.com/inmanturbo/teamsapp/actions/workflows/test.yml/badge.svg)\n![Styling](https://github.com/inmanturbo/teamsapp/actions/workflows/code-formatting.yml/badge.svg)\n![Linting](https://github.com/inmanturbo/teamsapp/actions/workflows/phplint.yml/badge.svg)\n\n\n## How to use this template\n\nAfter following the installation steps below, develop you application as you would any other. Some important things to note:\n\n- Each Tenant (Team) will have it's own database\n- Migrations created with `php artisan make:migration` without additional options provided will be for the default database connection, which is the `teams` connection\n- These migrations will run for new teams on the new team's database every a new team is created!\n- New migrations can be run for all teams from the cli with `php artisan team-db:migrate`\n- You may optionally pass an id as an argument to run the migrations for only one team database\n  - `TeamDatabase` info is stored in the `landlords` database in `team_database` table\n  - The `id` found there is the one to supply to the command i, e:\n  \n```bash\nphp artisan team-db:migrate 1\n```\n\nThe above command find the team database with an id of `1` and run migrations for it\n\n- All user account information (for all teams) is stored in the `landlord` database\n- To create a new landlord migration you may run  `php artisan make:migration {migration_name} --path=database/migrations/landlord`\n- To run these migrations: \n\n```bash\nphp artisan migrate --path=database/migrations/landlord --database=landlord\n```\n\n## Installation\n\n### Install Dependencies\n\n```bash\ncomposer install\n```\n\n```bash\nnpm install \u0026\u0026 npm run dev\n```\n\n### Configure Environment\n\nFirst copy `.env.example` to `.env`\n\n```bash\ncp .env.example .env\n```\n\nThen edit database configurations to match your local setup\n\n### Run Migrations\n\n```bash\nphp artisan migrate:fresh --path=database/migrations/landlord --database=landlord\n```\n\n### Then install the icons\n\n\u003e Installing the icons is not required, but if you don't at least cache the icons with\n\u003e `php artisan icon:cache` The app will run very very slow even from the cli and when running unit tests\n\n```bash\nphp artisan install:icons\n```\n\n### After that is finished you can generate an app key\n\n```bash\nphp artisan key:generate\n```\n\n### Run Tests\n\n```bash\nphp artisan test\n```\n\n### And finally serve your application\n\n```bash\nphp artisan serve\n```\n\n### Seeding the database\n\n\u003e This will create a super admin user with the following credentials:\n\u003e\n\u003e - email: `admin@admin.com`\n\u003e - password: `Pa$$w0rd!`\n\nOptionally you may wish to seed the database with the following commands\n\n```bash\nphp artisan migrate:fresh \\\n  --seed \\\n  --seeder=LandlordSeeder \\\n  --path=database/migrations/landlord \\\n  --database=landlord \n```\n\n```bash\nphp artisan team-db:migrate --fresh --seed\n```\n\n```bash\nphp artisan install:icons\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finmanturbo%2Fteams-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finmanturbo%2Fteams-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finmanturbo%2Fteams-app/lists"}