PHPackages                             skygdi/paypal - 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. skygdi/paypal

ActiveLibrary[Payment Processing](/categories/payments)

skygdi/paypal
=============

include donation demo

1.0.6(8y ago)011PHP

Since May 6Pushed 8y ago1 watchersCompare

[ Source](https://github.com/skygdi/paypal)[ Packagist](https://packagist.org/packages/skygdi/paypal)[ RSS](/packages/skygdi-paypal/feed)WikiDiscussions master Synced 3d ago

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

### Quick paypal button deploy for Laravel

[](#quick-paypal-button-deploy-for-laravel)

1.Install:

```
composer require skygdi/paypal
```

2.Add paypal configuration into your .env file:

```
PAYPAL_SANBOX_CLIENTID=your_paypal_client_ID
PAYPAL_SANBOX_CLIENTSECRET=your_paypal_client_secret
PAYPAL_CLIENTID=your_paypal_client_ID
PAYPAL_CLIENTSECRET=your_paypal_client_secret
PAYPAL_ENV=sandbox
```

\[ sandbox production \]

3.Public button template:

```
php artisan vendor:publish --provider="skygdi\paypal\PayPalProvider"
```

4.include the template partial where ever you wanted and edit as needed:

```
@include('vendor.skygdi.paypal_button')
```

Change the #order\_id input and #order\_total value as your logic needed before clicking the paypal checkout button.

5. Create your order status logic, for example in web.php:

```
use Session;
use Illuminate\Http\Request;
use skygdi\paypal\CommonController;

Route::post('paypal/execute', function (Request $request) {
	$obj = new \skygdi\paypal\CommonController();

	$obj->InitializeApiContext();
    if( Session::has('ordering_id') ){
    	//Mark order as paying
    }

    if( !$request->has("paymentID") || !$request->has("payerID") ) return ["state"=>"error","text"=>"parameter required"];

    $p = $obj->Execute($request);
    if( isset($p->state) && $p->state=="approved" ){
    	//Mark order as finished
		return ["state"=>"success"];
    }
    else{
    	return $p;
    }
});
```

---

Quick test url:

##### yourURL/skygdi/paypal/test

[](#yoururlskygdipaypaltest)

test5

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity68

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

7

Last Release

2929d ago

Major Versions

v0.2 → 1.0.22018-05-07

### Community

Maintainers

![](https://www.gravatar.com/avatar/7517d80fc139bcb8b3a98f1b1f4db151e007b032c50eeb4b4330efb4c659c54e?d=identicon)[skygdi](/maintainers/skygdi)

---

Top Contributors

[![skygdi](https://avatars.githubusercontent.com/u/20422201?v=4)](https://github.com/skygdi "skygdi (9 commits)")

### Embed Badge

![Health badge](/badges/skygdi-paypal/health.svg)

```
[![Health](https://phpackages.com/badges/skygdi-paypal/health.svg)](https://phpackages.com/packages/skygdi-paypal)
```

###  Alternatives

[larabook/gateway

A Laravel package for connecting to all Iraninan payment gateways

24553.7k](/packages/larabook-gateway)[amsgames/laravel-shop-gateway-paypal

PayPal gateway for Laravel Shop package.

1210.8k6](/packages/amsgames-laravel-shop-gateway-paypal)

PHPackages © 2026

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