PHP Package: 24slides/laravel-saml2

Laravel SAML2 integration library for seamless single sign-on implementation

Current Version: 2.4.2
Last Updated: 2025-03-12
PHP Requirement: >=7.1
Dependencies:
simplesamlphp/simplesamlphp
onelogin/php-saml
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

The Laravel SAML2 library by 24slides provides a comprehensive solution for integrating SAML2 Single Sign-On (SSO) functionality into Laravel applications. With easy configuration and robust security measures, this library streamlines the authentication process, enhancing user experience and application security. Seamlessly connect your Laravel project to SAML2 identity providers with this versatile and reliable package.

📦 Show all available classes🔗 View on GitHub

Download Latest Version: 2.4.2

Download Download v2.4.2

Code Integration Example

Make sure to include the correct namespace and class paths for proper usage.

<?php
// Example from PHPlibraries.com
require_once 'libs/24slides/laravel-saml2/2.4.2/loader.php';
require_once 'libs/simplesamlphp/simplesamlphp/2.4.2/loader.php';
require_once 'libs/onelogin/php-saml/{lib_version}/loader.php';

use OneLogin\Saml2\Auth;

$obj = new Auth();
echo '✅ Test OK: ' . get_class($obj);
?>

We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.

Community Discussion

Ask questions, share tips, or report issues below.