Laravel integration

Use Sendity in a Laravel application.

Install the Laravel auth adapter when you want Sendity to feel native in a Laravel app. The adapter renders the Client, verifies the signed result on your server and signs the user into your application.

composer require sendity/laravel-auth:^0.1

Configure the hosted app

For the default Cloud flow, configure the public app id and keep the hosted API and Client asset defaults. The client secret belongs to server-side verification and must never be exposed in Blade, JavaScript or HTML.

SENDITY_PUBLIC_KEY=app_01HX...
SENDITY_CLIENT_SECRET=sendity_secret_...
SENDITY_API_URL=https://sendity.io/api

Render the Client

Place the Blade component where the proof should start. The adapter includes the Client script once, passes the public app id and handles the default signed-result callback.

<x-sendity />

You can add a secondary slot for app-owned alternatives such as Passkeys. Sendity remains the channel-control proof; the surrounding UI is yours.

<x-sendity>
    <button type="button" slot="secondary">
        Sign in with a passkey
    </button>
</x-sendity>

Customize account handling

Your Laravel app still owns user lookup, creation, linking and authorization. Use the adapter hooks and Laravel events to map verified addresses to your domain model, then redirect users into the right product area.

Self-hosted Sendity uses the same adapter boundary. Point the adapter and Client at your own server only when you operate the verification backend yourself.

Cookie Settings

Sendity uses privacy-friendly analytics to learn which pages help developers. We only load Google Analytics after you consent.

Sign in

Already created a passkey?