Download the PHP package azaharizaman/nexus-sso without Composer

On this page you can find all versions of the php package azaharizaman/nexus-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 nexus-sso

Nexus\SSO - Single Sign-On Package

⚠️ PACKAGE PENDING - Phase 4 Incomplete (See PENDING_WORK.md)

Framework-agnostic Single Sign-On (SSO) package for Nexus ERP monorepo. Supports SAML 2.0, OAuth2/OIDC, Azure AD, Google Workspace, and custom identity providers.

🎯 Features

📦 Installation & Dependencies

Runtime Dependencies

🏗️ Architecture

The Nexus\SSO package is designed to be completely decoupled from Nexus\Identity. It defines contracts (interfaces) that your application implements using the Identity package.

The Separation Principle

Package Responsibility Analogy
Nexus\SSO Authentication Orchestration "The bouncer" - verifies credentials with external IdP
Nexus\Identity User Management "The membership database" - stores users, roles, permissions

🚀 Quick Start

1. Install Package Dependencies

2. Define Core Interfaces (Phase 1 - Completed)

The package provides these core contracts:

3. Available Providers (Phases 2-3 - Completed)

SAML 2.0 Provider (Saml2Provider):

OAuth 2.0 Provider (OAuth2Provider):

4. Implement User Provisioning (Your Application)

In your consuming application, implement the UserProvisioningInterface:

4. Configure SSO Provider

📚 Usage Examples

Initiate SSO Login

Handle SSO Callback

🧪 Testing

Run tests:

Run tests with coverage:

Current test coverage: 81 tests, 202 assertions, 100% passing

🏗️ Package Structure

📋 Implementation Status

✅ Phase 1: Core Infrastructure (COMPLETED)

✅ Phase 2: SAML 2.0 Provider (COMPLETED)

✅ Phase 3: OAuth2/OIDC Provider (COMPLETED)

⏳ Phase 4: Vendor-Specific Providers (PLANNED)

🔗 Integration with Other Packages

📖 Documentation

📖 Documentation

Package Documentation

Additional Resources

🤝 Contributing

This package follows strict architectural guidelines:

  1. Framework Agnostic: No Laravel dependencies in package layer
  2. Contract-Driven: Define interfaces first, implement later
  3. Immutability: Use readonly properties for all value objects
  4. PHP 8.3+: Native enums, constructor property promotion, strict types
  5. TDD: Red-Green-Refactor methodology

📄 License

MIT License. See LICENSE for details.


Package Version: 0.1.0 (Development)
PHP Version: 8.3+
Status: 🟡 In Development (Phase 1 Complete)


All versions of nexus-sso with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
psr/log Version ^3.0
onelogin/php-saml Version ^4.3
league/oauth2-client Version ^2.8
lcobucci/jwt Version ^5.6
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 azaharizaman/nexus-sso contains the following files

Loading the files please wait ...