Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Generated on Jun 2, 2024 via composer

onelogin/php-saml 4.1.0

OneLogin PHP SAML Toolkit
Package summary
Share
0
issues
2
licenses
1
MIT
1
BSD-3-Clause
Package created
24 Apr 2014
Version published
15 Jul 2022
Maintainers
2
Total deps
2
Direct deps
1
License
MIT

Issues

0
This package has no issues

Licenses

MIT License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
Cannot
hold-liable
Must
include-copyright
include-license
1 Packages, Including:
onelogin/php-saml@4.1.0

BSD 3-Clause "New" or "Revised" License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
place-warranty
Cannot
use-trademark
hold-liable
Must
include-copyright
include-license
1 Packages, Including:
robrichards/xmlseclibs@3.1.1
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

1
All Dependencies CSV
β“˜ This is a list of onelogin/php-saml 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
robrichards/xmlseclibs3.1.127.06 kBBSD-3-Clause
prod

Visualizations

Frequently Asked Questions

What does onelogin/php-saml do?

The "onelogin/php-saml" is a PHP toolkit provided by OneLogin that offers support for SAML (Security Assertion Markup Language), an XML-based standard for web browser single sign-on. This toolkit allows PHP software to effectively operate as a SAML Service Provider (SP), offering compatibility with any SAML Identity Provider (IdP). Key features of the library include support for Single Sign On (SSO) and Single Logout (SLO), Assertion and NameId encryption, Assertion signature, Message signature: AuthNRequest, LogoutRequest, LogoutResponses, and more, while making the entire process easy and efficient for programmers with comprehensive APIs.

How do you use onelogin/php-saml?

To utilize the "onelogin/php-saml" tool in PHP, you first need to install it through composer by executing composer require onelogin/php-saml in your current PHP project. This toolkit supports PHP 7 & 8. After installation, you can use it by including the autoloader provided by composer found at vendor/autoload.php. In terms of usage, the library provides various functionalities around SAML protocol such as creating SAML requests, sending them to the identity provider, receiving and processing SAML responses, and many more operations.

Here's a simple example of how to use it for initiating a Single Sign-On (SSO) process:

<?php
require 'vendor/autoload.php';   // Path to the autoload.php file.
$samlSettings = new OneLogin\Saml2\Settings($settingsInfo); // Your SAML settings.
$auth = new OneLogin\Saml2\Auth($samlSettings);
$auth->login(); // This will redirect the user to the IdP for authentication.
?>

Remember to replace $settingsInfo with your actual SAML settings.

Where are the onelogin/php-saml docs?

The complete documentation for "onelogin/php-saml" SAML PHP toolkit can be found at https://developers.onelogin.com/page/saml-toolkit-for-php. This resource provides comprehensive information about the library and its capabilities, as well as how to integrate it into PHP applications. It includes a detailed user guide and API reference to help you get started with and maximize the use of the toolkit.