Quickstart

For Laravel applications, install the app-auth integration from Packagist. It includes the Blade wrapper.

composer require sendity/laravel-auth:^0.1
  1. Create an app.
  2. Add your allowed origins.
  3. Copy your public app id.
  4. Add the x-sendity Blade component.
  5. Listen for the authenticated event.
  6. Verify the result on your backend.
<script type="module" src="https://sendity.io/vendor/sendity/client/sendity-client.js"></script>

<sendity-auth
  public-key="pk_test_..."
  transport="auto">
</sendity-auth>

Hosted defaults are used when optional attributes are omitted: server-url defaults to https://sendity.io/api and verify-urls defaults to mailto:verify@sendity.io.