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

acquaintsoft logo
Acquaint Softtech

Hire Laravel developers with AI expertise at $20/hr. Get started in 48 hours.

Visit Acquaint Softtech

The latest

View all →
Email Sending and Testing for Laravel in One Account image

Email Sending and Testing for Laravel in One Account

Read article
Decide with Jev: Tie Every AI Check to the Exact Draft image

Decide with Jev: Tie Every AI Check to the Exact Draft

Read article
PIE 1.5 Changes PHP Extension Installs in CI image

PIE 1.5 Changes PHP Extension Installs in CI

Read article
Delete Expired Sessions in Laravel With a Scheduled Command image

Delete Expired Sessions in Laravel With a Scheduled Command

Read article
Pollora: Run WordPress Inside a Laravel Application image

Pollora: Run WordPress Inside a Laravel Application

Read article
Scheduled Session Garbage Collection in Laravel 13.39 image

Scheduled Session Garbage Collection in Laravel 13.39

Read article