Quickstart
For Laravel applications, install the app-auth integration from Packagist. It includes the Blade wrapper.
composer require sendity/laravel-auth:^0.1
- Create an app.
- Add your allowed origins.
- Copy your public app id.
- Add the
x-sendityBlade component. - Listen for the authenticated event.
- 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.