Download the PHP package kylerusby/laravel-waitlist without Composer

On this page you can find all versions of the php package kylerusby/laravel-waitlist. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-waitlist

Laravel Waitlist

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

A beautiful, ready-to-use Laravel package for managing waitlists. Collect email addresses from interested users with a stunning, pre-built landing page styled with Tailwind CSS. Perfect for product launches, beta releases, or any project that needs to build anticipation.

Requirements

Features

Installation

Via Composer

Local Development

To use this package locally in your Laravel project:

  1. Add the path repository to your project's composer.json:

  2. Require the package:

Publish and Run Migrations

Publish Configuration (Optional)

Publish Views (Optional)

Usage

Once installed, the package works immediately with zero configuration!

Quick Start

Visit /waitlist in your Laravel application to see the pre-built waitlist page. Users can enter their email addresses, and they'll be saved to the database.

Accessing Waitlist Data

Named Routes

The package registers named routes that you can use in your application:

Custom Controller Usage

If you disable the default routes, you can use the controller in your own routes:

Configuration

After publishing the config file, you'll find it at config/waitlist.php. Here are the available options:

Enable/Disable Waitlist

Control whether the waitlist functionality is enabled:

Route Configuration

Customize the routes or disable them entirely:

Examples:

Disable routes to use your own:

Add a prefix and custom path:

Apply guest middleware:

Page Content

Customize the waitlist page text and appearance:

Note: The success message is displayed in the view template. The controller returns "Added to waitlist!" as a flash message. To customize both, publish the views and modify the template.

Form Validation

The package includes built-in form validation with custom error messages:

Complete Configuration Example

Cloudflare Turnstile (Optional)

Protect your waitlist form from bots using Cloudflare Turnstile. This package ships with a Blade component and server-side validation ready to use.

1) Enable and Configure

Add the following to your .env:

The config lives under config/waitlist.phpturnstile.

2) Use with the Package’s Built-in View

If you’re using the provided stub at GET /waitlist, Turnstile is already included. Just set your .env values above and you’re done.

3) Include in Your Own Blade View

If you aren’t using the provided stub, you can include the component inside your form:

The component automatically:

Prefer to embed manually? You can, but don’t include both the component and manual embed at the same time:

4) Server-side Verification

When CLOUDFLARE_TURNSTILE_ENABLED=true, the package’s request validator automatically verifies the token for the built-in POST /waitlist route.

If you use your own controller/request, add the rule yourself:

Or in a controller/route closure:

Notes:

Customization

Customizing the View

Publish the views to customize the waitlist page:

The view will be published to resources/views/vendor/laravel-waitlist/waitlist.blade.php. You can then modify the HTML, styling, and layout to match your brand.

Using Your Own View

If you've disabled the package routes, you can create your own controller and view:

Database Model

The Waitlist model is a standard Eloquent model with the following attributes:

You can extend or customize it by creating your own model that extends the package's model:

Usage:

Advanced Usage

Exporting Waitlist

Export all emails to a CSV:

Email Notifications

Send notifications to new signups using model observers:

Or create a custom observer:

Adding Additional Fields

If you need to collect more than just email addresses, follow these steps:

  1. Publish and modify the migration:

  2. Update the model's fillable attributes:

  3. Extend the form request validation:

  4. Publish and modify the view to include the new form fields.

Testing

Run the test suite:

Run tests with coverage:

Run static analysis:

Format code:

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.


All versions of laravel-waitlist with dependencies

PHP Build Version
Package Version
Requires php Version ^8.4
spatie/laravel-package-tools Version ^1.16
illuminate/contracts Version ^11.0||^12.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package kylerusby/laravel-waitlist contains the following files

Loading the files please wait ...