LaravelPackages.net
Acme Inc.
Toggle sidebar
spathon/laravel-stripe

Minimal Laravel 5 package wrapper for Stripe SDK 3

249
2
1.0.4
About spathon/laravel-stripe

spathon/laravel-stripe is a Laravel package for minimal laravel 5 package wrapper for stripe sdk 3. It currently has 2 GitHub stars and 249 downloads on Packagist (latest version 1.0.4). Install it with composer require spathon/laravel-stripe. Discover more Laravel packages by spathon or browse all Laravel packages to compare alternatives.

Last updated

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

Comments