Skip to content

VioletPixel/stripe-php-samples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stripe PHP Samples

A collection of barebones PHP sample code.

This is a work in progress... more to come!

Note: This code uses the public API keys provided in the Stripe documentation, but you should never reveal your secret Stripe API key to the public!

Requirements

Installation

  1. Clone or download this repository
  2. Run composer install in the top-level directory of this repository to install the Stripe library
  3. (Optional) Update the $config values in each sample you want to run with your own API keys and other values

Run Locally

  1. Run php -S localhost:4242 from the top-level directory of this repository
  2. Open http://localhost:4242

About

Barebones Stripe PHP sample code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages