PHPackages                             42works/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. 42works/stripe

ActivePaymentgateway1[Payment Processing](/categories/payments)

42works/stripe
==============

A plugin for stripe functionality v1.0.3

v1.0.1(7y ago)018proprietaryPHP

Since Feb 19Pushed 7y agoCompare

[ Source](https://github.com/gusimrat1989/42stripe)[ Packagist](https://packagist.org/packages/42works/stripe)[ RSS](/packages/42works-stripe/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (3)Used By (0)

Project Title
=============

[](#project-title)

42Works Stripe Package for Laravel

### Installing

[](#installing)

Create packages folder in your root of laravel and put this 42works folder in it

Add below code in your config file

```
'42stripeKey' => 'YOUR_STRIPE_API_SECRET_KEY',

```

Add below code in your service provider file app.php

```
Works42\Stripe\StripeServiceProvider::class

```

And add this code in autoload-&gt;psr-4 section in composer.json

```
"Works42\\Stripe\\": "packages/42works/stripe/src"

```

After that please run below command in terminal

```
composer dump-autoload

```

Getting Started
---------------

[](#getting-started)

After installation use below class in any of your controller

```
use Works42\Stripe\StripeController;

```

In functions you can create instance of class and run the 42works stripe package methods

```
$42stripeObject = new StripeController;

```

Predefined Functions
--------------------

[](#predefined-functions)

To create view of products

```
$data[0] = array('amount' => '123', 'currency' => 'USD', 'customer_id' => 'CUSTOMER_ID', 'image' => 'IMAGE_URL');
$data[1] = array('amount' => '12345', 'currency' => 'USD', 'customer_id' => 'CUSTOMER_ID', 'image' => 'IMAGE_URL');
$data[2] = array('amount' => '12345', 'currency' => 'USD', 'customer_id' => 'CUSTOMER_ID', 'image' => 'IMAGE_URL');

return $42stripeObject->makeStripeView_42( $data );

```

To create token (View)

```
return $42stripeObject->makeStripeTokenView_42();

```

Create Customer

```
$data = array( 'email' => 'test@test.com', 'description' => 'test description', 'source' => TOKEN_OF_STRIPE );

return $42stripeObject->makeStripeCustomer_42( $data );

```

Update Customer

```
$data = array( 'email' => 'test@test.com', 'description' => 'test description updated', 'customer_id' => CUSTOMER_ID, 'source' => TOKEN_OF_STRIPE );

return $42stripeObject->updateStripeCustomer_42( $data );

```

Retrieve Customer

```
return $42stripeObject->retrieveStripeCustomer_42( CUSTOMER_ID );

```

Delete Customer

```
return $42stripeObject->deleteStripeCustomer_42( CUSTOMER_ID );

```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity61

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

Every ~0 days

Total

2

Last Release

2641d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a04441c708877dbd8b20db51ba8b8de461de1460385bc5112ff440f6c9e0a207?d=identicon)[gusimrat1989](/maintainers/gusimrat1989)

---

Top Contributors

[![gusimrat1989](https://avatars.githubusercontent.com/u/47775754?v=4)](https://github.com/gusimrat1989 "gusimrat1989 (12 commits)")

### Embed Badge

![Health badge](/badges/42works-stripe/health.svg)

```
[![Health](https://phpackages.com/badges/42works-stripe/health.svg)](https://phpackages.com/packages/42works-stripe)
```

###  Alternatives

[omnipay/paypal

PayPal gateway for Omnipay payment processing library

3156.8M53](/packages/omnipay-paypal)[eduardokum/laravel-boleto

Biblioteca com boletos para o laravel

626351.9k2](/packages/eduardokum-laravel-boleto)[tbbc/money-bundle

This is a Symfony bundle that integrates moneyphp/money library (Fowler pattern): https://github.com/moneyphp/money.

1961.9M](/packages/tbbc-money-bundle)[2checkout/2checkout-php

2Checkout PHP Library

83740.3k2](/packages/2checkout-2checkout-php)[smhg/sepa-qr-data

Generate QR code data for SEPA payments

61717.2k5](/packages/smhg-sepa-qr-data)[omnipay/dummy

Dummy driver for the Omnipay payment processing library

271.2M33](/packages/omnipay-dummy)

PHPackages © 2026

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