Download the PHP package concept7/filament-invite without Composer
On this page you can find all versions of the php package concept7/filament-invite. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download concept7/filament-invite
More information about concept7/filament-invite
Files in concept7/filament-invite
Package filament-invite
Short Description Handles invites so setup your users' passwords.
License MIT
Homepage https://github.com/concept7/filament-invite
Informations about the package filament-invite
Handles invites so setup your users' passwords.
The package will be sending out invite emails by listening to the 'created'-event on user model. The user can click a link in the email to setup their password.
Also included is a expired check on the link.
The link will be as following: domain.tld/invite/accept?acceptId=<uuid>&hash=<hash>
Installation
You can install the package via composer:
Register the plugin in your panel provider:
You can publish and run the migrations with:
Optionally, you can publish the views using
Usage
Add Invitable trait to User model
Create a mailable
In app/Mail, create SendInviteMail.php, e.g.
Event listener
If for some reason you need to listen to the InviteAccepted Event, you can register a listener handling a InviteProcessedEvent. Register the listener in your EventServiceProvider.
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- Martijn Wagena
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of filament-invite with dependencies
filament/filament Version ^3.0
illuminate/contracts Version ^10.0
illuminate/validation Version ^10.0
spatie/laravel-package-tools Version ^1.13.5