Search by

php-sso / scim-server

waltertamboer

SCIM 2.0 server (RFC 7643 and 7644) for PSR-7 applications: users and groups, with storage and accounts behind interfaces you implement.

Package info

github.com/php-sso/scim-server

pkg:composer/php-sso/scim-server

Statistics

Installs: 58

Dependents: 1

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0.0 2026-11-21 15:38 UTC

This package is auto-updated.

Last update: 2026-11-22 00:31:41 UTC


README

A SCIM 2.0 server (RFC 7643 and RFC 7644) for PSR-7 applications: a company's provisioning system (Okta, Entra, and others) creates, updates and deactivates people and groups in your application.

  • PSR-7 messages in and out; responses are built with PSR-17 factories. It fits any framework.
  • No third-party runtime dependencies: only the PSR interface packages, ext-json and ext-mbstring.
  • Your accounts, groups and storage are interfaces you implement. Nothing here knows about your database, how you name sign-in users, or what locking an account means.
  • Users and Groups, with GET, POST, PUT, PATCH and DELETE, eq filters and paging. No bulk, sorting or ETags (/ServiceProviderConfig says so).

Install

composer require php-sso/scim-server

PHP 8.2 or newer, with ext-json and ext-mbstring.

Documentation

The documentation is at https://php-sso.github.io/scim-server/:

The pages are in docs/content, built with Hugo and the php-sso docs theme. Preview them with hugo server --source docs.

Development

composer install
composer check     # phpstan, then phpunit

The tests run the services and the controller against in-memory implementations of every interface (tests/support), so they need no database and no application. A test checks that src/ never depends on an application. Real adapters are exercised in the application that uses this library (php-sso).

License

MIT. See LICENSE.