New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

xinax/laravel-latch

Laravel wrapper for Latch SDK (Second security layer).
14 1

Larablocks Analysis

xinax/laravel-latch has no release yet to check Laravel compatibility against.

Recommendation checks

Use with care

Use with care: meets 0 of 3 checks.

  • No dated releases
  • 0 downloads a month (needs 10,000)
  • 1 GitHub star (needs 100)

Data from Packagist and GitHub, checked by Larablocks on Nov 27, 2026.

Install
composer require xinax/laravel-latch:dev-master
PHP:>=5.3.0
License:MIT
Last Updated:Jul 1, 2014
Links: GitHub  ·  Packagist
Maintainer: shaggyz

Laravel Latch

Laravel package for Latch SDK.

More info about Latch: https://latch.elevenpaths.com/ Official Latch php SDK: https://github.com/ElevenPaths/latch-sdk-php

Install

This package requires Laravel 4.1.*+

  • Add repository to composer.json:
    "xinax/laravel-latch": "dev-master"
  • Update composer:
    composer update
  • Register the service provider in app.php
    'Xinax\LaravelLatch\LaravelLatchServiceProvider',

Configuration

  • Publish configuration file:
    php artisan config:publish xinax/laravel-latch
  • Set application ID and secret in:
    app/config/packages/xinax/laravel-latch/config.php

Usage

All original method names were kept. Refer to original readme for updated documentation.

Pair register
    $accountID = LaravelLatch::pair($pairCode);
Latch status check
    try{
        LaravelLatch::status($accountID);
    } catch (Xinax\LaravelLatch\Exceptions\ClosedLatchException $e){
        // ... latch protection logic ...
    } catch (Xinax\LaravelLatch\Exceptions\LatchErrorException $e){ 
        // ... crisis logic (depends of your security policy) ...
    }
Unpair
    LaravelLatch::unpair($accountID);

Alternatives to xinax/laravel-latch

spatie/laravel-suspicious-login

Detect suspicious logins in your Laravel app and decide how to respond

5,865 86
pushery/fortify-hardening-for-laravel

Stops account enumeration in Laravel Fortify: neutral answers on registration an...

4,394 2
alajusticia/laravel-logins

Session management in Laravel apps, user notifications on new access, support fo...

20,989 24
harryes/laravel-sentinellog

A vigilant authentication logging and security package for Laravel 10-13 (PHP 8....

2,637 8
mydaniel/laravel-paseto

Paseto (Platform-Agnostic Security Tokens) authentication guard for Laravel. A s...

3,584 1