PHPackages                             boltpay/bolt-php - 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. boltpay/bolt-php

ActiveLibrary[Payment Processing](/categories/payments)

boltpay/bolt-php
================

Official PHP library to interact with Bolt

1.1.0(5y ago)374.4k↓50%3[3 issues](https://github.com/BoltApp/bolt-php/issues)[2 PRs](https://github.com/BoltApp/bolt-php/pulls)MITPHPPHP &gt;=5.6.0CI failing

Since Jan 4Pushed 2y ago51 watchersCompare

[ Source](https://github.com/BoltApp/bolt-php)[ Packagist](https://packagist.org/packages/boltpay/bolt-php)[ RSS](/packages/boltpay-bolt-php/feed)WikiDiscussions master Synced 1mo ago

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

Bolt PHP library
----------------

[](#bolt-php-library)

Official PHP library to interact with Bolt [APIs](https://docs.bolt.com/reference).

### Requirements

[](#requirements)

PHP 5.6+

#### API credentials

[](#api-credentials)

- The following three required values, (i.e. API Key, Signing Secret, Publishable Key) can be found in your Bolt Merchant Dashboard under Developers &gt; API. The Publishable Key is for the multi-step checkout by default. You can find other publishable keys (Payment Only) in the division dropdown at the top-right corner.
- For production, these will be found at:
- For sandbox mode, use the following URL: ".

#### Bolt Configuration:

[](#bolt-configuration)

Let's say  is the base URL of your store. You need go to Developers &gt; API &gt; Merchant API and configure hook URLs in your Bolt Merchant Dashboard

- Universal API:  (If universal API feature is enabled)
- Shipping:  (if the split shipping and tax feature is enabled)
- Tax:  (if the split shipping and tax feature is enabled)
- Shipping And Tax: [https://your-store-url.com/example/shipping\_and\_tax.php](https://your-store-url.com/example/shipping_and_tax.php) (if the split shipping and tax feature is disabled)
- Create Order: [https://your-store-url.com/example/preauth\_create\_order.php](https://your-store-url.com/example/preauth_create_order.php) (if the pre-auth order creation feature is enabled)
- WebHook:

#### Plugin configuration:

[](#plugin-configuration)

Go to file example/config.php and configure value for essential settings below

- API\_KEY: This is used for calling Bolt API from your back-end server
- IS\_SANDBOX: This is used for setting up testing vs. production execution environment
- SIGNING\_SECRET: This is used for signature verification in checking the authenticity of webhook requests
- PUBLISHABLE\_KEY: This is used to open the Bolt Payment Popup typically on cart (multi step) page (example/cart.php)
- PUBLISHABLE\_KEY\_PAYMENT\_ONLY: This is used to open the Bolt Payment Popup typically on cart payment only page (example/cart\_paymentonly.php)

##### Demo:

[](#demo)

Let's say  is the base URL of your store

- Go to  to see the cart page
- Go to [https://your-store-url.com/example/cart\_paymentonly.php](https://your-store-url.com/example/cart_paymentonly.php) to see the cart payment only page

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity33

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 51.6% 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 ~613 days

Total

2

Last Release

2078d ago

PHP version history (2 changes)1.0.0PHP &gt;=5.4.0

1.1.0PHP &gt;=5.6.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3869752?v=4)[Bolt](/maintainers/bolt)[@bolt](https://github.com/bolt)

---

Top Contributors

[![johnmccombs1](https://avatars.githubusercontent.com/u/2002287?v=4)](https://github.com/johnmccombs1 "johnmccombs1 (16 commits)")[![Jiyuan-Bolt](https://avatars.githubusercontent.com/u/50215911?v=4)](https://github.com/Jiyuan-Bolt "Jiyuan-Bolt (10 commits)")[![jmccombs-coredev](https://avatars.githubusercontent.com/u/255469056?v=4)](https://github.com/jmccombs-coredev "jmccombs-coredev (3 commits)")[![rbarabas](https://avatars.githubusercontent.com/u/8724965?v=4)](https://github.com/rbarabas "rbarabas (1 commits)")[![zachloubier](https://avatars.githubusercontent.com/u/3893524?v=4)](https://github.com/zachloubier "zachloubier (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/boltpay-bolt-php/health.svg)

```
[![Health](https://phpackages.com/badges/boltpay-bolt-php/health.svg)](https://phpackages.com/packages/boltpay-bolt-php)
```

###  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)
