Laravel Packages

Manage Waitlists in Laravel with Laravel Waitlist

Published
Manage Waitlists in Laravel with Laravel Waitlist image

Whether you’re launching a new product, managing a beta program, or rolling out features gradually, waitlists are an essential tool for controlling access and building anticipation. The Laravel Waitlist package by Shavonn Brown provides a flexible and elegant solution for managing waitlists in your Laravel applications.

Laravel Waitlist is designed to handle waitlist management without imposing rigid UI or API structures. This design philosophy gives developers the freedom to integrate waitlist functionality seamlessly into their existing applications while maintaining full control over the user experience.

Key Features

The package comes packed with features that cover the most common waitlist management scenarios:

  • Simple API: Clean, intuitive interface for managing waitlist entries
  • Multiple Waitlists: Create and manage separate waitlists for different products, features, or programs within the same application
  • Status Tracking: Monitor entries through different states (pending, invited, or rejected)
  • Email Verification: Optional email verification before inviting users to ensure valid contact information
  • Automatic Notifications: Built-in email notifications when users are invited from the waitlist. These notifications are also customizable.
  • Custom Metadata: Store additional data with each waitlist entry for advanced use cases
  • Flexible: No opinionated routes or views - use it your way

Getting Started

Installation is straightforward using Composer. The package requires PHP 8.4+ and Laravel 11.0+:

composer require offload-project/laravel-waitlist
php artisan vendor:publish --tag="waitlist-migrations"
php artisan migrate

Usage Examples

Basic Waitlist Management

For simple use cases with a single waitlist, the package provides an intuitive API:

use OffloadProject\Waitlist\Facades\Waitlist;
 
// Add someone to the waitlist
$entry = Waitlist::add('Eric Barnes', 'eric@example.com');
 
// Invite them when ready
Waitlist::invite($entry);

Managing Multiple Waitlists

When you need to manage multiple waitlists for different purposes, the package scales effortlessly:

use OffloadProject\Waitlist\Facades\Waitlist;
 
// Create a named waitlist
Waitlist::create('Laravel AI Beta', 'ai-beta');
Waitlist::create('Livewire 4 Launch', 'wire4launch');
 
// Add entries to specific waitlists
Waitlist::for('ai-beta')->add('Harris Raftopoulos', 'harris@example.com');
Waitlist::for('wire4launch')->add('Paul Redmond', 'paul@example.com');
 
// Get entries for a specific waitlist
$betaEntries = Waitlist::for('ai-beta')->getPending();
Waitlist::invite($betaEntries);
 
// Get statistics
$pending = Waitlist::for('wire4launch')->countPending();
$invited = Waitlist::for('wire4launch')->countInvited();

This multi-waitlist capability is particularly useful for scenarios like:

  • Managing multiple product launches simultaneously
  • Creating tiered access programs
  • Organizing feature-specific waitlists
  • Handling regional rollouts
  • Running different beta testing phases

Laravel Waitlist provides a robust, flexible foundation for implementing waitlist functionality in your Laravel applications.

You can explore the source code, contribute, or learn more about the package on the GitHub repository.

Yannick Lyn Fatt photo

Staff Writer at Laravel News and Full stack web developer.

Sponsored

laravelcloud logo
Laravel Cloud

Easily create and manage your servers and deploy your Laravel applications in seconds.

Visit Laravel Cloud

The latest

View all →
CPX: The Composer Package Executor for PHP image

CPX: The Composer Package Executor for PHP

Read article
Laravel AI SDK Adds Human-in-the-Loop Tool Approval image

Laravel AI SDK Adds Human-in-the-Loop Tool Approval

Read article
Pest 5 Released With Test Impact Analysis, Agent Verification, and Evals image

Pest 5 Released With Test Impact Analysis, Agent Verification, and Evals

Read article
Queue-SQL: Run Mass Deletes and Updates Across Parallel Queue Jobs image

Queue-SQL: Run Mass Deletes and Updates Across Parallel Queue Jobs

Read article
Blade Formatting in Laravel Pint image

Blade Formatting in Laravel Pint

Read article
Inertia DevTools Is Now on the Chrome Web Store image

Inertia DevTools Is Now on the Chrome Web Store

Read article