PHPackages                             mmollick/laravel-stripe - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Payment Processing](/categories/payments)
4. /
5. mmollick/laravel-stripe

ActiveLibrary[Payment Processing](/categories/payments)

mmollick/laravel-stripe
=======================

14.5k7PHP

Since Oct 9Pushed 10y ago1 watchersCompare

[ Source](https://github.com/mmollick/laravel-stripe-2)[ Packagist](https://packagist.org/packages/mmollick/laravel-stripe)[ RSS](/packages/mmollick-laravel-stripe/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Stripe 2.0 for Laravel 4
========================

[](#stripe-20-for-laravel-4)

Integrates the Stripe PHP library with Laravel 4 via a ServiceProvider, config, and Blade extensions.

*This is originally a fork from the [abodeo/laravel-stripe](https://github.com/Abodeo/laravel-stripe) package*

### Installation

[](#installation)

Include laravel-stripe as a dependency in composer.json:

```
"mmollick/laravel-stripe": "dev-master"

```

Run `composer install` to download the dependency.

Add the ServiceProvider to your provider array within `app/config/app.php`:

```
'providers' => array(

    'MMollick\LaravelStripe\LaravelStripeServiceProvider'

)

```

Finally, publish the configuration files via `php artisan config:publish abodeo/laravel-stripe`.

### Configuration

[](#configuration)

It is advisable to keep all of your sensitive configuration out of your configuration files. Instead, utilize Laravel's "dot files" to keep them out of source control and making them easily overridable on dev environments.

If you have not setup a "dot file", read Laravel's "[Protecting Sensitive Configuration](http://laravel.com/docs/configuration#protecting-sensitive-configuration) for detailed setup instructions. To quickly get up an running, simply create a `.env.php` file in the same directory as you apps `composer.json` file. Then add your Stripe API credentials to it.

```
