Skip to content

Customized Invitation process for adding Jetstream Users to a Team

License

Notifications You must be signed in to change notification settings

truefrontier/jetstream-team-invites

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Custom Laravel Jetstream Team Invites

Prerequisites

This package assumes you have already installed Jetstream and your Team and User Models are in the app/Models directory and namespace.

Installation

Install this package via Composer by adding the package and the repository link:

"require": {
  "truefrontier/jetstream-team-invites": "dev-main",
},

// ...

"repositories": [
  {
    "type":"vcs",
    "url": "https://github.com/truefrontier/jetstream-team-invites"
  }
],

Then run:

composer update

Publish the config options:

php artisan vendor:publish --provider="Truefrontier\JetstreamTeamInvites\JetstreamTeamInvitesServiceProvider" --force

Run the DB migration:

php artisan migrate

Lastly, add the Invitation Trait to your Team and User Model:

use Truefrontier\JetstreamTeamInvites\Traits\HasJetstreamTeamInvites;

class User
{
    use HasJetstreamTeamInvites;

Enabling this package disables automatic team creation for new users by default. To enable it, look in the config/truefrontier_team_invites.php config file.

License

The MIT License (MIT). Please see License File for more information.

About

Customized Invitation process for adding Jetstream Users to a Team

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •