Download the PHP package creativecrafts/laravel-sso without Composer

On this page you can find all versions of the php package creativecrafts/laravel-sso. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-sso

Multi-tenant SSO (OIDC + SAML 2.0) for Laravel

Latest Version on Packagist GitHub CI Status Total Downloads

Generic OIDC and SAML 2.0 SSO for Laravel, with multi-tenant support, user provisioning, identity linking, redacted audit logging, replay prevention, and configurable throttling on public SSO endpoints.

Compatibility

This package supports the runtime constraints declared in composer.json:

CI validates PHP 8.3–8.5 across Laravel 12 and 13. See composer.json for authoritative constraints.

Documentation

Guide Description
Getting Started Install → first OIDC login
Configuration Reference All config keys, env vars, IdP JSON shapes
Integration Guide Policies, events, tenancy, guards, extension
Admin API JSON admin API + UI scaffold
Operator Guide Production operating model
Deployment Guide Staging/production checklist
Security Guide Hardening and operational security
Troubleshooting Guide Common issues
Error Catalog Exceptions and HTTP status mapping
Upgrade Guide Migration and rollout notes
Auth Attempt Lifecycle Callback state machine
Database Schema Tables, columns, indexes, relationships
Architecture Audit Design boundaries and limitations
Maintainer Release Checklist Release gates
Contributor Matrix Testing Local PHP/Laravel matrix

Installation

sso:install publishes config (sso-config), migrations (sso-migrations), and optional UI assets (sso-ui).

Manual publish:

Database foundation

Published migrations create:

Do not treat the database layer as optional.

Quick start

Configure IdP credentials (admin API or tinker), then add a login button using connection ULID:

Full walkthrough: Getting Started.

Public SSO routes

Optional: ?redirect_to=/dashboard on the redirect route (validated for safety).

Helper: sso_redirect_url($tenantUlid, $connectionUlid, $redirectTo = null).

Provisioning and identity linking

Provisioning and identity linking are deny-by-default. A successful callback creates or links a local user only when:

  1. the host binds custom ProvisioningPolicy / IdentityLinkPolicy implementations, or
  2. package-wide defaults are enabled in config/sso.php, or
  3. the connection opts in via sso_connections.settings

Connection settings override package defaults:

Claim-aware example policies: GroupRequiredProvisioningPolicy, GroupRequiredIdentityLinkPolicy. See Integration Guide.

Admin API and UI scaffold

The JSON admin API manages tenants, identity providers, and connections. Enable with SSO_UI_ENABLED=true and register a manageSso gate.

An optional Inertia UI scaffold can be published (sso-ui tag); full CRUD screens are host-app responsibility.

Details: Admin API.

Security highlights

Full checklist: Security Guide.

Further reading:

Claims persistence

External identities persist minimized canonical claims by default:

Auth attempt lifecycle

Callbacks use reserve → validate → consume (or retryable failure). See Auth Attempt Lifecycle.

Data retention

Schedule daily pruning:

Testing

Upgrade guidance

Review CHANGELOG before upgrading.

Changelog

See CHANGELOG.

Contributing

See CONTRIBUTING.

Security Vulnerabilities

See SECURITY.md or the GitHub security policy.

Credits

License

MIT — see LICENSE.md.


All versions of laravel-sso with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
ext-dom Version *
ext-libxml Version *
ext-openssl Version *
illuminate/contracts Version ^12.0|^13.0
illuminate/database Version ^12.0|^13.0
illuminate/support Version ^12.0|^13.0
robrichards/xmlseclibs Version ^3.1.4
spatie/laravel-package-tools Version ^1.93
ext-zlib Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package creativecrafts/laravel-sso contains the following files

Loading the files please wait ...