PHP code example of 3neti / emi-paynamics

1. Go to this page and download the library: Download 3neti/emi-paynamics library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

3neti / emi-paynamics example snippets

bash
php artisan vendor:publish --tag=constellation-config
bash
php artisan constellation:payment-channels               # List available payment channels
php artisan constellation:cash-in {walletId} {amount}    # Interactive — initiate cash-in
php artisan constellation:cash-in-status {requestId}     # Check cash-in status by request ID
php artisan constellation:cash-ins {accountId}           # List cash-ins by account ID
bash
php artisan constellation:pre-transfer {src} {dst} {amt} # Pre-transfer (withhold)
php artisan constellation:settle-transfer {requestId}    # Settle a pre-transfer
php artisan constellation:cancel-transfer {requestId}    # Cancel a pre-transfer
json
{"command":"constellation:probe","is_fake":false,"input":{"action":"probe"},"operator":"rli","timestamp":"2026-03-24T22:56:28+00:00"}
{"command":"constellation:probe","is_fake":false,"success":true,"duration_ms":1006,"timestamp":"2026-03-24T22:56:29+00:00"}