Laravel integration
Use the Laravel packages according to their boundary: sendity/laravel-auth renders the optional Blade widget, validates the Sendity authorization and creates your application session, and sendity/laravel-server is only needed for self-hosting.
composer require sendity/laravel-auth:^0.1
<x-sendity />
Blade component
The component renders the Sendity Client and includes the client script once.
Laravel auth boundary
The auth package validates issuer, audience, expiry and replay state before your app creates a local session.
For self-hosting, add sendity/laravel-server and point the Blade component or other clients at your own Sendity API URL.