Skip to content
Permalink
Browse files

Updated to Porter 4.0 final parity.

Updated readme.
  • Loading branch information...
Bilge committed Apr 9, 2018
1 parent 31bba28 commit 366be982ec5de44f39ae72c882284a718daa158e
Showing with 5 additions and 5 deletions.
  1. +3 −3 README.md
  2. +2 −2 composer.json
@@ -14,10 +14,10 @@ This implementation currently is incomplete, however the API design currently se
Usage
-----

Register an instance of `StipeProvider` with Porter.
Add the dependency to your Composer files `require` section.

```php
$porter->registerProvider((new StripeProvider)->setApiKey('MY_API_KEY'));
```
"provider/stripe": "^3"
```

Once the provider is registered simply import any of its resources to invoke Stripe functionality. For example, to create a charge we could import `CreateCharge`.
@@ -9,8 +9,8 @@
],
"require": {
"php": "^5.5|^7",
"scriptfusion/porter": "4.0.x-dev",
"connectors/http": "4.0.x-dev",
"scriptfusion/porter": "^4",
"connectors/http": "^2",
"eloquent/enumeration": "^5"
},
"require-dev": {

0 comments on commit 366be98

Please sign in to comment.
You can’t perform that action at this time.