{"id":21341048,"url":"https://github.com/provider/stripe","last_synced_at":"2025-07-12T14:33:43.373Z","repository":{"id":62530954,"uuid":"65310636","full_name":"Provider/Stripe","owner":"Provider","description":":credit_card: Stripe data provider for making online payments with Porter.","archived":false,"fork":false,"pushed_at":"2019-12-08T16:06:44.000Z","size":75,"stargazers_count":2,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-24T13:44:56.405Z","etag":null,"topics":["data-provider","online-payments","payment-gateway","php-development","porter","stripe"],"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/Provider.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":"2016-08-09T16:26:57.000Z","updated_at":"2024-04-24T13:44:56.406Z","dependencies_parsed_at":"2022-11-02T15:31:59.843Z","dependency_job_id":null,"html_url":"https://github.com/Provider/Stripe","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Provider%2FStripe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Provider%2FStripe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Provider%2FStripe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Provider%2FStripe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Provider","download_url":"https://codeload.github.com/Provider/Stripe/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225824807,"owners_count":17529906,"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":["data-provider","online-payments","payment-gateway","php-development","porter","stripe"],"created_at":"2024-11-22T00:54:48.536Z","updated_at":"2024-11-22T00:54:52.790Z","avatar_url":"https://github.com/Provider.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Stripe\n======\n\n[![Latest version][Version image]][Releases]\n[![Total downloads][Downloads image]][Downloads]\n[![Build status][Build image]][Build]\n[![Test coverage][Coverage image]][Coverage]\n[![Code style][Style image]][Style]\n\nA [Porter][Porter] provider for [Stripe][Stripe], an online payment processor. Unlike the [official library][Stripe library], this implementation supports multiple instances and testing with mocks because it [does not rely on global state][Stripe static issue].\n\nThis implementation currently is incomplete, however the API design currently serves as one of the better reference implementations for those wishing to write similar providers for other services. [Pull requests][PRs] for missing Stripe API features are more than welcome.\n\nUsage\n-----\n\nAdd the dependency to your Composer files `require` section.\n\n```\n\"provider/stripe\": \"^3\"\n```\n\nOnce the provider is registered simply import any of its resources to invoke Stripe functionality. For example, to create a charge we could import `CreateCharge`.\n\n```php\n$card = new Card('4242424242424242', 12, 2020, '123');\n$response = $porter-\u003eimportOne(new ImportSpecification(new CreateCharge($card)));\n```\n\nRequirements\n------------\n\n- [PHP 5.5](http://php.net)\n- [Composer](http://getcomposer.org)\n- [Porter][Porter]\n\n\n  [Porter]: https://github.com/ScriptFUSION/Porter\n  [Releases]: https://github.com/Provider/Stripe/releases\n  [Version image]: https://poser.pugx.org/provider/stripe/version \"Latest version\"\n  [Downloads]: https://packagist.org/packages/provider/stripe\n  [Downloads image]: https://poser.pugx.org/provider/stripe/downloads \"Total downloads\"\n  [Build]: http://travis-ci.org/Provider/Stripe\n  [Build image]: https://travis-ci.org/Provider/Stripe.svg?branch=master \"Build status\"\n  [Coverage]: https://coveralls.io/github/Provider/Stripe\n  [Coverage image]: https://coveralls.io/repos/Provider/Stripe/badge.svg \"Test coverage\"\n  [Style]: https://styleci.io/repos/65310636\n  [Style image]: https://styleci.io/repos/65310636/shield?style=flat \"Code style\"\n\n  [PRs]: https://github.com/Provider/Stripe/pulls\n  [Stripe]: https://stripe.com\n  [Stripe library]: https://github.com/stripe/stripe-php\n  [Stripe static issue]: https://github.com/stripe/stripe-php/issues/124\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprovider%2Fstripe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprovider%2Fstripe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprovider%2Fstripe/lists"}