Download the PHP package padosoft/laravel-rebel-recovery without Composer

On this page you can find all versions of the php package padosoft/laravel-rebel-recovery. 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-rebel-recovery

Laravel Rebel — Recovery

Official documentation: https://doc.laravel-rebel.padosoft.com

Single-use recovery codes done right. Backup codes the user can fall back to when they lose their device — generated once, stored only as keyed HMACs, verified in constant time, single-use, and easy to type. Part of the padosoft/laravel-rebel-* suite.

Laravel 12|13 PHP 8.3+ PHPStan max Pest 4 MIT


Table of contents


What it is

High-assurance account-recovery building blocks for Rebel. v0.1.0 ships recovery (backup) codes: a set of one-time codes a user can use to recover access. Pair them with a high-assurance step-up purpose (from laravel-rebel-step-up) to gate sensitive recovery flows.

Depends on padosoft/laravel-rebel-core.


Why this package

What In short
★★★ Hashed at rest Codes are stored as a keyed HMAC of (salt\|code) with a key_version — never plaintext, pepper-rotation friendly.
★★★ Single-use & atomic Verification locks the row and consumes the code; a code works exactly once.
★★★ Constant-time verify All candidates are checked without early-exit, so timing doesn't leak which code matched.
★★ Typo-tolerant Input is normalized (case, separators, Crockford O→0 / I·L→1), so a correct code never fails on format.
★★ Regenerate safely Generating a new set invalidates all previous unconsumed codes.
★★ Audited & multi-tenant Generate/complete/fail are recorded; rows are tenant-scoped.

Rebel Recovery vs the alternatives

Capability Rebel Recovery Shopify Fortify recovery codes Hand-rolled
Self-issued recovery codes for your users
Codes hashed at rest (you control storage) ➖ (encrypted blob)
Keyed HMAC + key_version (pepper rotation)
Constant-time verification
Atomic single-use (row lock)
Input normalization (typo-tolerant)
~100-bit entropy codes ➖ (~50 bits)
Audited + multi-tenant (your app)

Legend: ✅ built-in · ➖ partial / hosted-only / not exposed to you · ❌ not available.

Note: Shopify is a hosted, closed commerce platform — its own staff/customer logins may have backup codes, but it never exposes a self-hostable, HMAC-hashed, single-use recovery-code API you can issue to your application's users.


Installation


Usage


Security notes


.env.example


🔋 Vibe coding with batteries included

This package ships AI batteries — so you (and your AI agent) can extend it correctly on the first try:

Open the repo in your AI editor and just start — the rules, guardrails and extension recipes come with it. PRs that follow the shipped CLAUDE.md pass CI (PHPStan max + Pest + Pint) and review the first time around.


Testing & License

License: MIT — see padosoft/laravel-rebel suite.


All versions of laravel-rebel-recovery with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
illuminate/contracts Version ^12.0|^13.0
illuminate/support Version ^12.0|^13.0
spatie/laravel-package-tools Version ^1.92
padosoft/laravel-rebel-core Version ^0.1
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 padosoft/laravel-rebel-recovery contains the following files

Loading the files please wait ...