PHP Package: aacotroneo/laravel-saml2
Laravel package for SAML2 authentication integration, simplifying single sign-on implementation for PHP applications.
Package Description
The Laravel SAML2 package provides a seamless integration for handling SAML2 authentication in Laravel projects. It streamlines the process of enabling single sign-on functionality, ensuring secure user authentication across multiple platforms. With robust features and easy configuration, this package enhances the security and user experience of PHP applications.
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/lib_version/autoload.php';
use OneLogin\Saml2\Auth;
use OneLogin\Saml2\Response;
use OneLogin\Saml2\Settings;
use OneLogin\Saml2\ValidationError;
use OneLogin\Saml2\Utils;
$obj = new OneLogin\Saml2\Auth();
echo "✅ Example created successfully.";
?>
We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.