PHPackages                             tlongren/money-collector - 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. tlongren/money-collector

ActiveLibrary[Payment Processing](/categories/payments)

tlongren/money-collector
========================

Simple money collector using Stripe

1.0(10y ago)2848[1 issues](https://github.com/tlongren/money-collector/issues)MITPHP

Since Jun 28Pushed 10y ago2 watchersCompare

[ Source](https://github.com/tlongren/money-collector)[ Packagist](https://packagist.org/packages/tlongren/money-collector)[ Docs](https://github.com/tlongren/money-collector)[ RSS](/packages/tlongren-money-collector/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

MoneyCollector
==============

[](#moneycollector)

Simple website to accept payments through Stripe. You've gotta get a [Stripe account](https://stripe.com/).

You can see it action at . If you find this useful, feel free to drop me a few dollars for coffee and beer. :)

This was inspired by [begriffs/lucre, like this but in Ruby](https://github.com/begriffs/lucre).

If you find any issues or problems please report them using [the Issues tracker here at Github](https://github.com/tlongren/MoneyCollector/issues).

Ribbon CSS from [Josh Bader](http://codepen.io/joshbader/pen/ukFLi) and form CSS from [Joey](http://codepen.io/joe/pen/yGcnH).

Setup
-----

[](#setup)

1. Open index.php and pay.php.
2. In index.php, change the **$yourName** variable at line 2 to whatever you want it to be.
3. In Index.php, edit javascript variables **publicTestKey** and **publicLiveKey**. You can find those keys in your Stripe settings. These keys are publishable.
4. In pay.php, set your private live key and your private test key (on line 12 and 13).
5. Upload all files to a PHP enabled webserver.
6. If you uploaded to a folder called pay-me at domain.com, your payment form will be at .

7a. To go live, open pay.php and replace **$privateTestKey** with **$privateLiveKey** inside the **Stripe::setApiKey** method.

7b. Open index.php and replace **publicTestKey** with **publicLiveKey** inside the **Stripe.setPublishableKey** javascript function.

8. For SSL, get a free SSL self-signed certificate from [tinycert.org](https://tinycert.org) and use [cloudflare](https://cloudflare.com) (pro account needed) or [Cloudbric](https://cloudbric.com).

Customization
-------------

[](#customization)

If you don't like the background image, it's really easy to change. There's some additional backgrounds in the assets folder, all are png files except the default. To change the background image, find the background you want in the assets folder, and copy the filename. Open style.css and replace **default\_background.jpg** on line 15 with the filename you copied from the assets folder. So, if you're switching to **black\_lozenge.png**, you'd replace **default\_background.jpg** with **black\_lozenge.png**. You'll also want to remove the **background-size** property, and remove the **no-repeat center center fixed** piece from line 15, otherwise your new background won't tile like it should.

So, basically, change this:

```
body {
    background:url("/assets/default_background.jpg") no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
```

to this:

```
body {
	background:url("/assets/black_lozenge.png");
}
```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3972d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/09c826b550c6d8f17f87778833dd97c8daf949cfc328500053725930da2784c2?d=identicon)[tlongren](/maintainers/tlongren)

---

Top Contributors

[![tlongren](https://avatars.githubusercontent.com/u/304332?v=4)](https://github.com/tlongren "tlongren (66 commits)")

---

Tags

phpstripepayment processing

### Embed Badge

![Health badge](/badges/tlongren-money-collector/health.svg)

```
[![Health](https://phpackages.com/badges/tlongren-money-collector/health.svg)](https://phpackages.com/packages/tlongren-money-collector)
```

###  Alternatives

[cartalyst/stripe-laravel

Laravel 11 integration for the Cartalyst Stripe package.

3382.6M9](/packages/cartalyst-stripe-laravel)[tomatophp/filament-payments

Manage your payments inside FilamentPHP app with multi payment gateway integration

542.3k](/packages/tomatophp-filament-payments)[fpt/stripe-bundle

Stripe bundle for Symfony 5.4 / 6 / 7

1521.2k](/packages/fpt-stripe-bundle)[miracode/stripe-bundle

Symfony bundle to integrate Stripe PHP SDK. Ability to save Stripe objects in database using Doctrine.

1016.1k](/packages/miracode-stripe-bundle)[luyadev/luya-module-payment

LUYA Payment allows you to integrate payments in a safe and fast way. The module take care of all the provider required steps (call, create, success, abort, etc.) and provides all the informations for your store.

1012.1k](/packages/luyadev-luya-module-payment)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
