{"id":21865082,"url":"https://github.com/uala-developers/ualabis-php","last_synced_at":"2025-06-20T14:33:11.084Z","repository":{"id":65227135,"uuid":"558416392","full_name":"Uala-Developers/ualabis-php","owner":"Uala-Developers","description":"Official Ualá Bis PHP SDK: https://packagist.org/packages/uala-bis/ualabis-php","archived":false,"fork":false,"pushed_at":"2023-04-21T12:43:23.000Z","size":12145,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2024-11-11T05:59:01.010Z","etag":null,"topics":["api-checkout","checkout","php","sdk","uala","ualabis"],"latest_commit_sha":null,"homepage":"https://uala-developers.github.io/ualabis-php/","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Uala-Developers.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-10-27T14:02:45.000Z","updated_at":"2024-09-24T07:46:37.000Z","dependencies_parsed_at":"2023-01-15T17:00:50.430Z","dependency_job_id":null,"html_url":"https://github.com/Uala-Developers/ualabis-php","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Uala-Developers%2Fualabis-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Uala-Developers%2Fualabis-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Uala-Developers%2Fualabis-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Uala-Developers%2Fualabis-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Uala-Developers","download_url":"https://codeload.github.com/Uala-Developers/ualabis-php/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226856963,"owners_count":17693016,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api-checkout","checkout","php","sdk","uala","ualabis"],"created_at":"2024-11-28T04:14:09.140Z","updated_at":"2024-11-28T04:14:09.757Z","avatar_url":"https://github.com/Uala-Developers.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ualabis-php\n\nOfficial PHP SDK for Ualá Bis API Checkout\n\nSDK PHP oficial de Ualá Bis API Checkout\n\n\u003cimg align=\"right\" src=\"image/phpbis.png\" width=\"250px\"\u003e\n\n## Content\n\n- [Installation](#installation) | [Instalación](#instalación)\n- [Functions](#functions) | [Funciones](#funciones)\n- [Usage](#usage) | [Uso](#uso)\n- [Test](#test) | [Prueba](#prueba)\n- [API Checkout Docs](#api-checkout-docs)\n\n## Installation\n\nInstall the package with:\n\n```sh\ncomposer require uala-bis/ualabis-php\n```\n\n## Functions\n\nList of all functions:\n\n- createOrder\n- getOrder\n- getFailedNotifications\n\n## Usage\n\nInstantiate the Ualá Bis SDK class:\n\n```php\n\u003c?php\n  require_once('../vendor/autoload.php');\n\n  use Uala\\SDK;\n\n  //if you want to test the sdk, set isDev w/ true value. FALSE by default if not specified\n  $sdk = new SDK('your_username', 'your_client_id', 'your_client_secret_id', true);\n\n  $order = $sdk-\u003ecreateOrder(11, 'test', 'https://www.google.com/', 'https://www.google.com/');\n  $generatedOrder = $sdk-\u003egetOrder($order-\u003euuid);\n\n?\u003e\n\n```\n\n## Test\n\nWe use PHPUnit and Mockoon to run internal mock API:\n\nInstall all dependencies from ```composer.json```:\n```sh\ncomposer install\n```\nStart mock API server:\n```sh\nnpx mockoon-cli start --data ./tests/dataMockTest.json\n```\n\nor if you want to install it globally:\n```sh\nnpm install -g @mockoon/cli\nmockoon-cli start --data ./tests/dataMockTest.json\n```\nRun coverage:\n```sh\ncomposer coverage\n```\n\nWe use ```XDebug``` for coverage report, is necessary to install it: [how to install Xdebug](https://xdebug.org/docs/install)\n\n\n# Español\n\n## Instalación\n\nInstale el paquete con el siguiente comando:\n\n```sh\ncomposer require uala-bis/ualabis-php\n```\n\n## Funciones\n\nListado de todas las funciones:\n\n- createOrder\n- getOrder\n- getFailedNotifications\n\n## Uso\n\nInstancia la clase de Ualá Bis SDK:\n\n```php\n\u003c?php\n  require_once('../vendor/autoload.php');\n\n  use Uala\\SDK;\n  \n  //si queres probar el SDK, configura el valor isDev con valor true. Es false por defecto si no es especificado\n  $sdk = new SDK('your_username', 'your_client_id', 'your_client_secret_id', true);\n\n  $order = $sdk-\u003ecreateOrder(11, 'test', 'https://www.google.com/', 'https://www.google.com/');\n  $generatedOrder = $sdk-\u003egetOrder($order-\u003euuid);\n\n?\u003e\n```\n\n## Test\n\nUsamos PHPUnit y Mockoon para correr un mock interno de una API:\n\nInstala todas las dependencias de ```composer.json```:\n```sh\ncomposer install\n```\nInicia la API mockeada:\n```sh\nnpx mockoon-cli start --data ./tests/dataMockTest.json\n```\no si queres instalarlo de forma global:\n```sh\nnpm install -g @mockoon/cli\nmockoon-cli start --data ./tests/dataMockTest.json\n```\nEjecuta el coverage:\n```sh\ncomposer coverage\n```\n\nUsamos ```XDebug``` para los reportes de coverage, es necesario que lo instales: [cómo instalar Xdebug](https://xdebug.org/docs/install)\n\n\n## API Checkout Docs\n\nAlso, you can show Api Checkout Documentation in https://developers.ualabis.com.ar\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuala-developers%2Fualabis-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fuala-developers%2Fualabis-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuala-developers%2Fualabis-php/lists"}