PHPackages                             payscribe/php-sdk - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Payment Processing](/categories/payments)
4. /
5. payscribe/php-sdk

ActiveLibrary[Payment Processing](/categories/payments)

payscribe/php-sdk
=================

v2.0.0(3y ago)231[1 issues](https://github.com/payscribe/php-sdk/issues)PHP

Since Jan 13Pushed 3y agoCompare

[ Source](https://github.com/payscribe/php-sdk)[ Packagist](https://packagist.org/packages/payscribe/php-sdk)[ RSS](/packages/payscribe-php-sdk/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (2)Versions (2)Used By (0)

### Usage

[](#usage)

To use the Payscribe class, you need to first create an instance of the class. You can do this by calling the `createFromEnv` method or by passing in your Payscribe API key, username, and type to the constructor.

```
// Using the createFromEnv method
$payscribe = Payscribe::createFromEnv();

// Using the constructor
$payscribe = new Payscribe($key, $username, $type);
```

your php init goes here!! :)

```
