Download the PHP package offload-project/laravel-invite-only without Composer
On this page you can find all versions of the php package offload-project/laravel-invite-only. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download offload-project/laravel-invite-only
More information about offload-project/laravel-invite-only
Files in offload-project/laravel-invite-only
Package laravel-invite-only
Short Description A Laravel package for managing user invitations with polymorphic relationships, token-based access, scheduled reminders, and event-driven notifications.
License MIT
Homepage https://github.com/offload-project/laravel-invite-only
Informations about the package laravel-invite-only
Laravel Invite Only
A Laravel package for managing user invitations with polymorphic relationships, token-based access, scheduled reminders, and event-driven notifications.
Features
- Polymorphic invitations - Invite users to any model (teams, organizations, projects)
- Bulk invitations - Invite multiple users at once with partial failure handling
- Token-based secure links - Shareable invitation URLs with secure tokens
- Status tracking - Pending, accepted, declined, expired, and cancelled states
- Automatic reminders - Scheduled reminder emails for pending invitations
- Event-driven - Events fired for all invitation lifecycle changes
- Translatable notifications - All notification messages customizable via language files
- Structured exceptions - Error codes and resolution hints for easy debugging
Table of Contents
- Requirements
- Installation
- Quick Start
- Add Traits
- Send Invitations
- Handle Acceptance
- Schedule Reminders (Optional)
- Full Documentation
- AI Coding Assistant Skill
- Testing
- Contributing
- License
Requirements
- PHP 8.2+
- Laravel 11/12/13
Installation
Quick Start
1. Add Traits
If a model both sends and receives invitations (e.g. user-to-user friend
invitations), apply both traits. The two traits each define an
acceptedInvitations() method, so use PHP's trait conflict resolution:
In v3.0 the HasInvitations::acceptedInvitations() helper will be removed in
favour of getAcceptedInvitations(), eliminating the conflict — at which point
the insteadof/as clauses can be dropped.
2. Send Invitations
3. Handle Acceptance
4. Schedule Reminders (Optional)
Full Documentation
- Getting Started - Step-by-step tutorial
- API Reference - All methods, events, and configuration
- Concepts - Lifecycle, architecture, and design decisions
How-To Guides
- Team Invitations
- Custom Notifications
- Handling Errors
AI Coding Assistant Skill
This package ships a Laravel Boost skill so coding assistants (Claude Code, Cursor, etc.) follow the package's conventions when generating code. Install it in your app with:
The skill source lives at skills/SKILL.md.
Testing
Contributing
Contributions are welcome! Please see the documents below before getting started.
- Contributing Guide — setup, workflow, commit conventions, and PR process
- Code of Conduct — expectations for participation in this project
Security
- Security Policy — how to report a vulnerability privately
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-invite-only with dependencies
illuminate/database Version ^11.0|^12.0|^13.0
illuminate/support Version ^11.0|^12.0|^13.0