Download the PHP package boilingsoup/sneeze without Composer

On this page you can find all versions of the php package boilingsoup/sneeze. 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 sneeze

image

Sneeze

Sneeze is a modern, token-based authentication starter kit for Laravel using Sanctum. Inspired by Breeze, it's designed for API-first apps that need clean, flexible auth, with no frontend assumptions and no reliance on cookies or CSRF.

Use it with any frontend: mobile, SPA, desktop, TUI. If it can send headers, it works.


πŸ’‘ Why Laravel Sneeze?

Breeze is great for traditional Laravel apps, but it's tightly coupled to session cookies, CSRF protection, and frontend-specific flows like email verification links.

Sneeze takes a different approach:

You're not locked into a browser SPA. Whether you're building a mobile app, CLI, TUI, or remote dashboard, Sneeze is designed to get out of your way and let you build.


πŸ”₯ Features


πŸš€ Installation

Laravel Sneeze is intended for new Laravel projects.
It scaffolds routes, controllers, traits, notifications, and test files directly into your app.

Install the package via Composer:

Then run the install command:

The sneeze:install command will:


🧬 Authentication Flow

All actions are done via API. No frontend coupling, no session redirects, no need for custom URLs.

Action Endpoint Method Description
Register /api/register POST Create a new user
Login /api/login POST Returns Sanctum token
Logout /api/logout POST Revokes token
Request password reset /api/forgot-password POST Sends 8-digit code
Reset password /api/reset-password POST Verifies code + sets new password
Request email verification code /api/email/verification-notification POST Sends 8-digit code
Verify email /api/verify-email POST Verifies 8-digit code

βš™οΈ Configuration

Sneeze uses a simple config file to define expiration times for tokens and codes. These are set using CarbonInterval, which gives you expressive, readable control over durations.

File: config/sneeze.php

You can customize these values using any CarbonInterval expression.

Example: To make reset codes expire in 30 minutes, change:

CarbonInterval supports durations like minutes(), hours(), days(), weeks(), months(), and more. These intervals are applied at the time the token or code is created, ensuring consistent and timezone-aware expiration.


⏱ Scheduled Tasks

Sneeze registers two scheduled tasks in routes/console.php to keep your auth tables clean:

These tasks are added automatically when you install Sneeze.

More info: Laravel Scheduler Documentation


πŸ” Security Notes


🧱 Customization

All important logic is published into your app for easy modification:


πŸ“¦ Credits

Created by Boiling Soup

Inspired by Laravel Breeze


All versions of sneeze with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2.0
illuminate/console Version ^11.0|^12.0
illuminate/filesystem Version ^11.0|^12.0
illuminate/support Version ^11.0|^12.0
illuminate/validation Version ^11.0|^12.0
symfony/console Version ^7.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 boilingsoup/sneeze contains the following files

Loading the files please wait ...