Download the PHP package kuantaz/sso-client without Composer

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

🏛️ MDS SSO Client

PHP Version Laravel SOAP

Cliente PHP optimizado para integración con el sistema de autenticación SSO del Ministerio de Desarrollo Social de Chile.

✨ Características

📦 Instalación

Composer

Laravel Framework

🆕 Laravel 12+

El paquete se registra automáticamente incluyendo el alias Sso. Si necesitas configuración manual:

📋 Laravel 5.1 - 11

Para versiones anteriores, registra manualmente:

⚙️ Configuración

1. Publicar Configuración

2. Variables de Entorno

Configura tu archivo .env:

3. Configuración Avanzada

Edita config/sso.php para configuración personalizada:

🚀 Uso

📝 Ejemplos Básicos

Buscar Usuario por RUT

Autorizar Token

Crear Nuevo Usuario

Gestión de Roles

🔧 Uso Directo de Clase

🏗️ Uso Avanzado en Controladores

📋 API Reference

Métodos Disponibles

Método Descripción Parámetros Retorno
getUsuario(string $rut) Buscar usuario por RUT $rut: RUT del usuario object
getAutorizar(string $token) Validar token de autorización $token: Token JWT/OAuth object
setCrearUsuario(...) Crear nuevo usuario Ver parámetros abajo object
setAsignarRoles(string $rut, array $roles) Asignar roles a usuario $rut, $roles: Array de IDs object
listarRolesUsuario(string $rut) Listar roles de usuario $rut: RUT del usuario object
eliminarUsuario(string $rut) Eliminar usuario $rut: RUT del usuario object

Parámetros setCrearUsuario()

Estructura de Respuestas

✅ Respuesta Exitosa

❌ Respuesta de Error

🔧 Constantes Disponibles

📋 Requisitos del Sistema

🧪 Testing

Ejemplo de Test

🚨 Manejo de Errores

Errores Comunes y Soluciones

Error Causa Solución
ERROR_SSO_WSDL WSDL no configurado Configurar SSO_WSDL en .env
ERROR_SSO_AID Application ID inválido Verificar SSO_AID con MDS
ERROR_RUT_REQUERIDO RUT no proporcionado Validar entrada antes de llamar
SOAP Exception Conexión/certificados Verificar conectividad y SSL

Logging Personalizado

🔄 Changelog

v2.0.0 - 2025-06-02

Ver CHANGELOG.md para historial completo.

🤝 Contribuir

  1. Fork el repositorio
  2. Crea una rama feature (git checkout -b feature/nueva-funcionalidad)
  3. Commit tus cambios (git commit -am 'Agregar nueva funcionalidad')
  4. Push a la rama (git push origin feature/nueva-funcionalidad)
  5. Crea un Pull Request

Estándares de Código

📄 Licencia

Este proyecto está licenciado bajo la Licencia MIT.

👥 Créditos

🆘 Soporte

📞 Canales de Soporte

🔍 Antes de Reportar Issues

  1. Verifica que tu configuración sea correcta
  2. Revisa los logs de Laravel/PHP
  3. Comprueba conectividad con el servidor SSO
  4. Busca en issues existentes

Made with ❤️ by Kuantaz for the Chilean Government


All versions of sso-client with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4
ext-soap 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 kuantaz/sso-client contains the following files

Loading the files please wait ...