digitonic/jetstream-team-invites

Customize Jetstream Team Invitations

10.0 2023-04-12 08:49 UTC

This package is auto-updated.

Last update: 2024-11-12 12:01:15 UTC


README

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

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

use Truefrontier\JetstreamTeamInvites\Traits\HasJetstreamTeamInvites;

class User
{
    use HasJetstreamTeamInvites;

License

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