{"id":16673565,"url":"https://github.com/sasa-b/monri-standalone","last_synced_at":"2026-05-28T19:02:32.132Z","repository":{"id":40627546,"uuid":"393309703","full_name":"sasa-b/monri-standalone","owner":"sasa-b","description":"A PHP client library for Monri Payment Gateway redirect integration.","archived":false,"fork":false,"pushed_at":"2024-02-02T09:46:06.000Z","size":2833,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-26T08:34:41.505Z","etag":null,"topics":["monri","monri-payments","payment-gateway","php","php-library"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sasa-b.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-08-06T08:24:53.000Z","updated_at":"2024-02-02T09:38:39.000Z","dependencies_parsed_at":"2024-11-18T21:50:24.854Z","dependency_job_id":"e48fe59b-6323-447b-829b-6dbd7becb3a5","html_url":"https://github.com/sasa-b/monri-standalone","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/sasa-b/monri-standalone","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sasa-b%2Fmonri-standalone","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sasa-b%2Fmonri-standalone/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sasa-b%2Fmonri-standalone/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sasa-b%2Fmonri-standalone/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sasa-b","download_url":"https://codeload.github.com/sasa-b/monri-standalone/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sasa-b%2Fmonri-standalone/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33622070,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-28T02:00:06.440Z","response_time":99,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["monri","monri-payments","payment-gateway","php","php-library"],"created_at":"2024-10-12T12:27:14.259Z","updated_at":"2026-05-28T19:02:32.096Z","avatar_url":"https://github.com/sasa-b.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# monri-standalone\n\n### Usage\n\n```php\nrequire_once '../vendor/autoload.php';\n\n// Development\n$monri = Monri::testApi('{authenticity_token}', '{merchant_key}', Options::default());\n// Production\n$monri = Monri::api('{authenticity_token}', '{merchant_key}', Options::default());\n\n$customer = new Customer(\n    new FullName('Michael Scott'),\n    new Email('michale.scott@gmail.com'),\n    new Phone('00387653245'),\n    new Address('Dunder Mifflin 1', 'Scranton', '18503', 'USA')\n);\n\n$order = new Order(\n    new OrderInfo('Paper clips'),\n    new OrderNumber('0000001'),\n    new Amount(1000),\n    new Currency('USD')\n);\n\n//\n// API 1\n//\n\n// Authorize transaction\n$monri-\u003eauthorize($customer, $order);\n// Purchase\n$monri-\u003epurchase($customer, $order);\n// Capture\n$monri-\u003ecapture($order);\n// Refund\n$monri-\u003erefund($order);\n// Void\n$monri-\u003evoid($order);\n\n//\n// API 2\n//\n\n// Authorize transaction\n$request = Authorize::for($customer, $order, Options::default());\n// Purchase\n$request = Purchase::for($customer, $order, Options::default());\n// Capture\n$request = Capture::for($order);\n// Refund\n$request = Refund::for($order);\n// Void\n$request = VoidTransaction::for($order);\n\n$monri-\u003etransaction($request);\n```\n\n### Environment Variables\n\nIf any of the following is set Monri client will read them from the env.\n\n```\nMONRI_SUCCESS_URL=\nMONRI_CANCEL_URL=\nMONRI_CALLBACK_URL=\nMONRI_TOKEN=\nMONRI_KEY=\nMONRI_LANG=\n```\n\n### Transaction types\n\n* Authorization\n* Purchase\n* Capture\n* Refund\n* Void\n\nRead more at [Monri official documentation](https://ipgtest.monri.com/en/documentation/v2_form)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsasa-b%2Fmonri-standalone","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsasa-b%2Fmonri-standalone","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsasa-b%2Fmonri-standalone/lists"}