Download the PHP package tvdijen/saml2 without Composer
On this page you can find all versions of the php package tvdijen/saml2. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download tvdijen/saml2
More information about tvdijen/saml2
Files in tvdijen/saml2
Package saml2
Short Description SAML2 PHP library from SimpleSAMLphp
License LGPL-2.1-or-later
Informations about the package saml2
SimpleSAMLphp SAML2 library
A PHP library for SAML2 related functionality. Extracted from SimpleSAMLphp, used by OpenConext. This library started as a collaboration between UNINETT and SURFnet but everyone is invited to contribute.
Before you use it
DO NOT USE THIS LIBRARY UNLESS YOU ARE INTIMATELY FAMILIAR WITH THE SAML2 SPECIFICATION.
If you are not familiar with the SAML2 specification and are simply looking to connect your application using SAML2, you should probably use SimpleSAMLphp.
Note that the HTTP Artifact Binding and SOAP client do not work outside of SimpleSAMLphp.
Which version to pick?
The latest released version (4.x
range) is the preffered version.
The 3.x branch
is our LTS branch and will be supported as long as SimpleSAMLphp hasn't migrated to the 4.x
branch.
All other branches (2.x
and earlier) are no longer supported and will not receive any maintenance or
(security) fixes. Do not use these versions.
We conform to Semantic Versioning. Be sure to check the UPGRADING.md file if you are upgrading from an older version. Here you will find instructions on how to deal with BC breaking changes between versions.
Usage
-
Install with Composer, run the following command in your project:
-
Provide the required external dependencies by extending and implementing the then injecting it in the ContainerSingleton (see example below).
-
Make sure you've read the security section below.
- Use at will. Example:
Security
- Should you need to create a DOMDocument instance, use the
SAML2\DOMDocumentFactory
to create DOMDocuments from either a string (SAML2\DOMDocumentFactory::fromString($theXmlAsString)
), a file (SAML2\DOMDocumentFactory::fromFile($pathToTheFile)
) or just a new instance (SAML2\DOMDocumentFactory::create()
). This in order to protect yourself against the XXE Processing Vulnerability, as well as XML Entity Expansion attacks
License
This library is licensed under the LGPL license version 2.1. For more details see LICENSE.
All versions of saml2 with dependencies
ext-openssl Version *
ext-dom Version *
ext-zlib Version *
robrichards/xmlseclibs Version ^3.0
psr/log Version ~1.0