PHP Package: aacotroneo/laravel-saml2
Laravel package for seamless integration of SAML2 authentication with extensive customization options.
Package Description
The Laravel SAML2 package simplifies Single Sign-On (SSO) integration with SAML2, offering robust features and ease of use. With this library, developers can effortlessly add SAML2 authentication to their Laravel applications, ensuring secure and user-friendly login experiences for their users. The package supports multiple identity providers, attribute mapping, and customizable configurations to suit various use cases.
Download Latest Version: 2.1.0

Code Integration Example
Make sure to include the correct namespace and class paths for proper usage.
<?php
// Example from PHPlibraries.com
require_once 'libs/aacotroneo/laravel-saml2/2.1.0/loader.php';
require_once 'libs/simplesamlphp/simplesamlphp/2.4.2/loader.php';
use Aacotroneo\Saml2\Saml2Auth;
$obj = new Saml2Auth();
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.