Skip to content

spathon/laravel-stripe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

A minimal Laravel 5 package for Stripe PHP API ~3.1

Installation

  • Add "spathon/laravel-stripe": "~1.0" to composer.json
  • Run composer update
  • Add Spathon\LaravelStripe\LaravelStripeServiceProvider::class to providers in config/app.php
  • Set the stripe secret in config/services.php ( use .env for this )

Usage

All this package is doing is setting the Stripe secret key so you can use the Stripe SDK anywhere anytime.
Basicly just add use Stripe\Stripe;

Why?

I created this package mostly to learn how to make a package. Most stripe packages was for L4

About

A minimal Laravel 5 package for Stripe PHP API ~3.1

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages