New

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

faytzel/laravel-latch

Latch integration in Laravel
762 4

Larablocks Analysis

faytzel/laravel-latch works with Laravel 5 (latest release 1.0.0, Feb 23, 2015), which reached end of life: no more fixes, even for security.

Laravel 4 in earlier releases.

Recommendation checks

Not advised

Not advised: no release or commit in over 2 years.

  • No release or commit in over 2 years
  • Supports only Laravel 5, past end of life
  • No release in the last 12 months (last: Feb 23, 2015)
  • 1 downloads a month (needs 10,000)
  • 4 GitHub stars (needs 100)

State

Likely abandoned
  • No release or commit in over 2 years.
  • Last stable release: Feb 23, 2015.
  • No releases in the last 12 months.
  • First released: May 5, 2014.
  • Monthly downloads: 1.
  • 1 open issue on GitHub.

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

Install
composer require faytzel/laravel-latch
Latest Version:1.0.0
PHP:>=5.3.0
Laravel:5
Older releases:4
License:MIT
Last Updated:Feb 23, 2015
Links: GitHub  ·  Packagist
Maintainer: faytzel

Laravel (4 and 5) Latch Integration

Installation

Laravel 5

Require this package in your composer.json and run composer update:

"faytzel/laravel-latch": "1.*"

After updating composer, add the Service Provider to the providers array in config/app.php

'Faytzel\LaravelLatch\LaravelLatchServiceProvider',

You add config files.

php artisan vendor:publish

If you want to use the facade, add this to your facades in config/app.php

'Latch' => 'Faytzel\LaravelLatch\Facades\LaravelLatch',

Laravel 4

Require this package in your composer.json and run composer update:

"faytzel/laravel-latch": "0.*"

After updating composer, add the Service Provider to the providers array in app/config/app.php

'Faytzel\LaravelLatch\LaravelLatchServiceProvider',

You add config files.

php artisan config:publish faytzel/laravel-latch

If you want to use the facade, add this to your facades in app/config/app.php

'Latch' => 'Faytzel\LaravelLatch\Facades\LaravelLatch',

Examples

Pair with Latch Account

$token = Input::get('token');

if ($accountId = Latch::pair($token))
{
    // Add account id latch to user table
}
else
{
    echo Latch::error();
}

Check it if locked Latch Account

$accountId = 'latch_account_id';

if ( ! Latch::locked($accountId))
{
    // Auth user
}

Check if unlocked Latch Account

$accountId = 'latch_account_id';

if (Latch::unlocked($accountId))
{
    // Auth user
}

Unpair Latch Account

$accountId = 'latch_account_id';

if (Latch::unpair($accountId))
{
    // Delete account id latch in user table
}
else
{
    echo Latch::error();
}

Related Packages

dfreer/zillow

Laravel 5 Zillow api wrapper. This code is a fork from vinceg/zillow

29,124 2
devs-poetadigital/laravel-api-generator

code generator

2,861 0
tzookb/api-responder

laravel api response helper

17 0
asbiin/laravel-webauthn

Laravel Webauthn support

778,366 310
netsuitephp/netsuite-laravel

NetSuite PHP laravel provider wrapper

254,739 11

Version History

Version Released PHP Laravel License
1.0.0 >=5.3.0 5.* MIT
0.1.2 >=5.3.0 4.* MIT
0.1.1 >=5.3.0 4.1.* MIT
0.1 >=5.3.0 ~4 MIT