{"id":22930777,"url":"https://github.com/ryandadeng/securepay-secureframe","last_synced_at":"2025-08-12T15:31:56.437Z","repository":{"id":62538587,"uuid":"144249315","full_name":"RyanDaDeng/securepay-secureframe","owner":"RyanDaDeng","description":"SecurePay SecureFrame for Laravel","archived":false,"fork":false,"pushed_at":"2018-08-14T05:48:17.000Z","size":27,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-01T07:15:15.738Z","etag":null,"topics":["secureframe","securepay"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RyanDaDeng.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-08-10T07:00:51.000Z","updated_at":"2020-05-21T09:40:59.000Z","dependencies_parsed_at":"2022-11-02T15:17:05.666Z","dependency_job_id":null,"html_url":"https://github.com/RyanDaDeng/securepay-secureframe","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/RyanDaDeng/securepay-secureframe","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RyanDaDeng%2Fsecurepay-secureframe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RyanDaDeng%2Fsecurepay-secureframe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RyanDaDeng%2Fsecurepay-secureframe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RyanDaDeng%2Fsecurepay-secureframe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RyanDaDeng","download_url":"https://codeload.github.com/RyanDaDeng/securepay-secureframe/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RyanDaDeng%2Fsecurepay-secureframe/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270086755,"owners_count":24524636,"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","status":"online","status_checked_at":"2025-08-12T02:00:09.011Z","response_time":80,"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":["secureframe","securepay"],"created_at":"2024-12-14T10:29:51.409Z","updated_at":"2025-08-12T15:31:56.144Z","avatar_url":"https://github.com/RyanDaDeng.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SecurePayFrame\n\nA SecureFrame solution for SecurePay.\n\n# Installation\n\n## Add the following line to the require section of composer.json:\n```sh\n{\n    \"require\": {\n        \"ryandadeng/securepay-secureframe\": \"dev-master\"\n    }\n}\n```\n\n## Set up for Laravel \u003c= 5.4\n1. In /config/app.php, add the following to providers:\n```sh\nRyandadeng\\Securepayframe\\SecurePayFrameServiceProvider::class\n```\n2. run `php artisan vendor:publish --provider=\"Ryandadeng\\Securepayframe\\SecurePayFrameServiceProvider\"`\n\n## Set up for Laravel \u003e= 5.5\nJust run `php artisan vendor:publish --provider=\"Ryandadeng\\Securepayframe\\SecurePayFrameServiceProvider\"`\n\n## Guideline - How to use\n1. Create an implmentation class for SecurePayCustomDataInterface\n2. Implement your own custom dynamic data\n3. For return URL, please provide your own route url.\n4. Create a controller to send and receive data from SecurePay\n\nExample:\n\n```sh\nnamespace App\\Http\\Controllers;\n\n\nuse Illuminate\\Http\\Request;\nuse Ryandadeng\\Securepayframe\\Services\\SecurePayFactory;\n\nclass SecurePayFrameController\n{\n\n\n    // GET - used to populate SecurePay by using SecureFrame\n    public function send()\n    {\n        $send = SecurePayFactory::send(new SecurePaySecurePayCustomData());\n        return view('welcome', ['sender' =\u003e $send]);\n    }\n\n\n    // POST - This route will be hooked when SecurePay return response. This request should not be accessed publicly which means it should not be have any auth middleware attached.\n    public function receive(Request $request)\n    {\n        // test received data\n        $receiver = SecurePayFactory::receive($request-\u003eall());\n\n        if ($receiver-\u003efails()) {\n            return $receiver-\u003eerrors();\n        } else {\n            return 'success';\n        }\n    }\n}\n```\n5. Register your two routes for send and receive request respectively.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryandadeng%2Fsecurepay-secureframe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fryandadeng%2Fsecurepay-secureframe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryandadeng%2Fsecurepay-secureframe/lists"}