Search by

flipboxfactory / saml-core

nateilerdsmrt

There is no license information available for the latest version (5.0.12) of this package.

SAML SSO Core

Package info

github.com/flipboxfactory/saml-core

Documentation

pkg:composer/flipboxfactory/saml-core

Statistics

Installs: 147 512

Dependents: 2

Suggesters: 0

Stars: 1

Open Issues: 1

5.0.12 2026-11-07 19:41 UTC

README

Shared SAML 2.0 library for Craft CMS.

CI Latest Version Total Downloads Software License

SAML Core holds the code shared by the SAML SP and SAML IdP Craft plugins: provider records and metadata, HTTP-POST/Redirect bindings, logout, and signing and encryption keys (via KeyChain). It is built on simplesamlphp/saml2.

It is not a plugin. You normally don't install it directly; it comes in as a dependency of SAML SP or SAML IdP.

Requirements

  • Craft CMS 5 (saml-core 5.x)
  • PHP 8.2+

Installation

Install SAML SP or SAML IdP. To require it directly:

composer require flipboxfactory/saml-core

Development

Checks follow Craft's coding guidelines: craftcms/ecs and craftcms/phpstan. Tests use Codeception with Craft's test module and need a MySQL database:

docker run -d --rm --name saml-core-test-mysql -e MYSQL_ROOT_PASSWORD=password \
  -e MYSQL_DATABASE=saml_core_test -p 127.0.0.1:3306:3306 mysql:8.0
cp tests/.env.example tests/.env   # adjust CRAFT_DB_* if needed

composer check      # check-cs + phpstan + test
composer fix-cs     # auto-fix coding standards

CI runs the same checks on every push and pull request.

Contributing

See CONTRIBUTING.

Credits

License

MIT. See LICENSE.