Download the PHP package sunuid/php-sdk without Composer

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

SunuID PHP SDK

SDK PHP officiel pour l'intégration des QR codes d'authentification et KYC SunuID.

📋 Prérequis

🚀 Installation

Via Composer (Recommandé)

Installation manuelle

📖 Utilisation Rapide

⚙️ Configuration

Options de configuration

Option Type Défaut Description
client_id string null Identifiant client SunuID
secret_id string null Clé secrète SunuID
partner_name string null Nom de votre entreprise
api_url string https://api.sunuid.fayma.sn URL de l'API SunuID
type int 2 Type de service (1=KYC, 2=Auth, 3=Signature)
theme string light Thème (light/dark)
language string fr Langue (fr/en)
enable_logs bool true Activer les logs
log_file string sunuid.log Fichier de log
request_timeout int 10 Timeout des requêtes (secondes)
max_retries int 3 Nombre max de tentatives
enable_websocket bool false Activer les Socket.IO
websocket_url string https://samasocket.fayma.sn:9443 Endpoint Socket.IO (handshake http/https)
websocket_auto_connect bool false Connexion automatique
websocket_socketio_version string 2 Version Socket.IO (0, 1, 2 pris en charge par ElephantIO)
websocket_transports array ['websocket', 'polling'] Transports supportés
websocket_query_params array [] Paramètres de requête additionnels

🔧 Fonctionnalités

Génération de QR Codes

Socket.IO - Notifications Temps Réel

Vérification de Statut

Types de Services

🧪 Tests

Tests d'intégration

🛠️ Dépannage Socket.IO

📝 Exemples

Consultez le dossier examples/ pour des exemples d'utilisation :

🔒 Sécurité

📞 Support

📄 Licence

MIT License - voir le fichier LICENSE pour plus de détails.

🤝 Contribution

Les contributions sont les bienvenues ! Consultez CONTRIBUTING.md pour les détails.


SunuID Team - Simplifiez l'authentification et le KYC avec les QR codes intelligents. # SunuID-php


All versions of php-sdk with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4
guzzlehttp/guzzle Version ^7.0
endroid/qr-code Version ^4.0
firebase/php-jwt Version ^6.0
monolog/monolog Version ^2.0
elephantio/elephant.io Version ^3.3
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 sunuid/php-sdk contains the following files

Loading the files please wait ...