spathon / laravel-stripe by spathon

Minimal Laravel 5 package wrapper for Stripe SDK 3
248
2
2
Package Data
Maintainer Username: spathon
Maintainer Contact: patrik@spathon.com (Patrik Spathon)
Package Create Date: 2015-08-05
Package Last Update: 2015-08-05
Home Page:
Language: PHP
License: MIT
Last Refreshed: 2024-11-22 15:00:26
Package Statistics
Total Downloads: 248
Monthly Downloads: 2
Daily Downloads: 0
Total Stars: 2
Total Watchers: 2
Total Forks: 1
Total Open Issues: 0

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