litesaml/schemas
Provides XML schemas for the Lite SAML ecosystem, enabling validation and tooling for SAML documents used across Lite Saml packages. Requires PHP 8.1+ and installs via Composer.
onelogin/php-saml or simple-samlphp. Ideal for projects requiring lightweight, PHP-native SAML validation while leveraging Laravel’s ecosystem.Adopt if:
litesaml/core) or need schemas for custom implementations.Look elsewhere if:
onelogin/php-saml (Symfony-based, feature-rich but heavier).simple-samlphp/simple-saml-php (enterprise-grade, but overkill for lightweight needs).For Executives:
*"This package (litesaml/schemas) provides pre-validated SAML 2.0 XML schemas for Laravel, enabling secure identity integrations (e.g., SSO, partner logins) with minimal development effort. It’s a low-risk, MIT-licensed dependency that:
For Engineering (Laravel Devs):
*"The litesaml/schemas package delivers SAML 2.0 schemas and validation in a Laravel-friendly way. Key benefits:
AuthnRequest, Response) and validate XML in one line:
$isValid = app(LiteSAML\Schemas\Schemas::class)->validateSchema('AuthnRequest', $xml);
$this->app->bind(LiteSAML\Schemas\Schemas::class, function ($app) {
return new LiteSAML\Schemas\Schemas();
});
onelogin/php-saml.
Ideal for greenfield SAML projects or extending Laravel apps with schema validation (e.g., validating inbound SAML assertions from IdPs)."For Security/Compliance Teams: *"This package ensures SAML XML schema compliance out of the box, which is critical for:
How can I help you explore Laravel packages today?