Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 728 Bytes

README.markdown

File metadata and controls

23 lines (14 loc) · 728 Bytes

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