digitonic / jetstream-team-invites
Customize Jetstream Team Invitations
10.0
2023-04-12 08:49 UTC
Requires
- php: ^8.0
- doctrine/dbal: ^2.9|^3.0
- illuminate/support: ^9.0|^10.0
Requires (Dev)
- phpunit/phpunit: ^9.0
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.