{"id":14987468,"url":"https://github.com/tattersoftware/codeigniter4-stripe","last_synced_at":"2025-04-12T00:15:12.069Z","repository":{"id":36625332,"uuid":"228666845","full_name":"tattersoftware/codeigniter4-stripe","owner":"tattersoftware","description":"Stripe SDK integration for CodeIgniter 4","archived":false,"fork":false,"pushed_at":"2023-10-17T15:43:49.000Z","size":68,"stargazers_count":11,"open_issues_count":1,"forks_count":5,"subscribers_count":2,"default_branch":"develop","last_synced_at":"2025-04-12T00:15:02.349Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/tattersoftware.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":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-12-17T17:22:07.000Z","updated_at":"2024-02-08T17:11:52.000Z","dependencies_parsed_at":"2024-09-25T00:32:58.510Z","dependency_job_id":null,"html_url":"https://github.com/tattersoftware/codeigniter4-stripe","commit_stats":{"total_commits":28,"total_committers":2,"mean_commits":14.0,"dds":0.1428571428571429,"last_synced_commit":"f6015d7f0e9a3dd597b1fcc59a319cd1511b6dc5"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tattersoftware%2Fcodeigniter4-stripe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tattersoftware%2Fcodeigniter4-stripe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tattersoftware%2Fcodeigniter4-stripe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tattersoftware%2Fcodeigniter4-stripe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tattersoftware","download_url":"https://codeload.github.com/tattersoftware/codeigniter4-stripe/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248497818,"owners_count":21113984,"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":[],"created_at":"2024-09-24T14:14:39.690Z","updated_at":"2025-04-12T00:15:12.029Z","avatar_url":"https://github.com/tattersoftware.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tatter\\Stripe\nStripe SDK integration for CodeIgniter 4\n\n[![](https://github.com/tattersoftware/codeigniter4-stripe/workflows/PHPUnit/badge.svg)](https://github.com/tattersoftware/codeigniter4-stripe/actions/workflows/test.yml)\n[![](https://github.com/tattersoftware/codeigniter4-stripe/workflows/PHPStan/badge.svg)](https://github.com/tattersoftware/codeigniter4-stripe/actions/workflows/analyze.yml)\n[![](https://github.com/tattersoftware/codeigniter4-stripe/workflows/Deptrac/badge.svg)](https://github.com/tattersoftware/codeigniter4-stripe/actions/workflows/inspect.yml)\n[![Coverage Status](https://coveralls.io/repos/github/tattersoftware/codeigniter4-stripe/badge.svg?branch=develop)](https://coveralls.io/github/tattersoftware/codeigniter4-stripe?branch=develop)\n\n## Quick Start\n\n1. Install with Composer: `\u003e composer require tatter/stripe`\n2. Set the environment keys: **.env** \u003e `stripe.apiKey` and `stripe.apiSecret`\n3. Load the service: `$stripe = service('stripe');`\n\n## Description\n\nThis is a CodeIgniter 4 integration of the Stripe PHP SDK\n\n* [Documentation](https://stripe.com/docs)\n* [API Reference](https://stripe.com/docs/api?lang=php)\n* [GitHub repository](https://github.com/stripe/stripe-php)\n\n## Installation\n\nInstall easily via Composer to take advantage of CodeIgniter 4's autoloading capabilities\nand always be up-to-date:\n* `\u003e composer require tatter/stripe`\n\nOr, install manually by downloading the source files and adding the directory to\n`app/Config/Autoload.php`.\n\n## Configuration\n\nThe library's default behavior can be altered by extending its config file. Copy\n**examples/Stripe.php** to **app/Config/** and follow the instructions\nin the comments. If no config file is found in **app/Config** then the library will use its own.\n\nIn addition to the configuration you *must* set your `apiSecret` in your **.env** file\nin your project root. API keys and secrets are available from the\n[Stripe Dashboard](https://dashboard.stripe.com/account/apikeys). E.g.:\n\n```\n#--------------------------------------------------------------------\n# STRIPE\n#--------------------------------------------------------------------\n\nstripe.apiKey = pk_test_6pRNASCoBOKtIshFeQd4XMUh\nstripe.apiSecret = sk_test_BQokikJOvBiI2HlWgH4olfQ2\n```\n\n\u003e *WARNING* Make sure you never include credentials in your repository!\n\n## Usage\n\nLoad the Stripe service:\n\n\t$stripe = service('stripe');\n\nAt this point you have a working `StripeClient` and can use any of the methods described\nin the [Stripe API Docs](https://stripe.com/docs/api?lang=php). Note that API endpoints\nare version-specific. See **Configuration** above on how to use the example config file to\noverride the module default if you want to set a specific version.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftattersoftware%2Fcodeigniter4-stripe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftattersoftware%2Fcodeigniter4-stripe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftattersoftware%2Fcodeigniter4-stripe/lists"}