PHPackages                             astrogoat/affirm - 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. astrogoat/affirm

ActiveLibrary[Payment Processing](/categories/payments)

astrogoat/affirm
================

A Affirm app for Strata

1.15.0(8mo ago)013.2k↓50%MITPHPPHP ^8.0CI failing

Since Jan 26Pushed 8mo ago4 watchersCompare

[ Source](https://github.com/astrogoat/affirm)[ Packagist](https://packagist.org/packages/astrogoat/affirm)[ Docs](https://github.com/astrogoat/affirm)[ GitHub Sponsors](https://github.com/astrogoat)[ RSS](/packages/astrogoat-affirm/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (8)Versions (18)Used By (0)

An Affirm app for Strata
========================

[](#an-affirm-app-for-strata)

[![Latest Version on Packagist](https://camo.githubusercontent.com/de247a390ea5ed335ec36435717c3913b38a950526ccb6659c95f506129a56e4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f617374726f676f61742f61666669726d2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/astrogoat/affirm)[![GitHub Tests Action Status](https://camo.githubusercontent.com/5b1fdb0778fb6e43a98b3eceaf711ef6a5f88377126328d393352474fde413c7/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f617374726f676f61742f61666669726d2f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/astrogoat/affirm/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/65953a88a88f94f24cf87d62cf5559c90d30d5a3ad0fc724309738dc3bf58a6b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f617374726f676f61742f61666669726d2f436865636b253230262532306669782532307374796c696e673f6c6162656c3d636f64652532307374796c65)](https://github.com/astrogoat/affirm/actions?query=workflow%3A%22Check+%26+fix+styling%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/61fa2d21286bad0405654b3807dfa6b026533a0fef981137d7d290f3c3a795cf/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f617374726f676f61742f61666669726d2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/astrogoat/affirm)

---

An Affirm app for Stratum

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require astrogoat/affirm
```

Usage
-----

[](#usage)

Include the script in your Blade file:

```
@include('affirm::script');
```

When enabled this will add the Affirm javascript. You now have access to Affirm's promotional messaging. See [Affirm documentation](https://docs.affirm.com/developers/docs/promo-messaging-getting-started/) for more info.

Testing
-------

[](#testing)

```
composer test
```

Releasing a new version
-----------------------

[](#releasing-a-new-version)

Use the included GitHub action to create a new release. Go to  click the "Run workflow" dropdown, select your version level bump, and click the "Run workflow" button. or run `gh workflow run release.yml` from your skeleton directory if you have the GitHub CLI installed locally.

**Important**: Make sure that the Miles Bot user is included in the list of users who can bypass required pull request requirement Your repo -&gt; Settings -&gt; Branches -&gt; Main (edit) -&gt; "Allow specified actors to bypass required pull requests"

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Baffour Adu Boampong](https://github.com/baffouradu)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

42

—

FairBetter than 90% of packages

Maintenance58

Moderate activity, may be stable

Popularity23

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 55.3% 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 ~81 days

Recently: every ~50 days

Total

17

Last Release

267d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4e9527ee45d5bf016d30f77ce27f61e964a126cf168255fe68625af4ae83bf26?d=identicon)[tonning](/maintainers/tonning)

---

Top Contributors

[![tonning](https://avatars.githubusercontent.com/u/7304678?v=4)](https://github.com/tonning "tonning (26 commits)")[![miles-bot](https://avatars.githubusercontent.com/u/75677136?v=4)](https://github.com/miles-bot "miles-bot (13 commits)")[![BaffourAdu](https://avatars.githubusercontent.com/u/22221905?v=4)](https://github.com/BaffourAdu "BaffourAdu (8 commits)")

---

Tags

laravelaffirmastrogoat

###  Code Quality

TestsPest

Static AnalysisPsalm

Type Coverage Yes

### Embed Badge

![Health badge](/badges/astrogoat-affirm/health.svg)

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

###  Alternatives

[vormkracht10/laravel-mails

Laravel Mails can collect everything you might want to track about the mails that has been sent by your Laravel app.

24149.7k](/packages/vormkracht10-laravel-mails)[danestves/laravel-polar

A package to easily integrate your Laravel application with Polar.sh

7812.3k](/packages/danestves-laravel-polar)[musahmusah/laravel-multipayment-gateways

A Laravel Package that makes implementation of multiple payment Gateways endpoints and webhooks seamless

852.2k1](/packages/musahmusah-laravel-multipayment-gateways)[creagia/laravel-redsys

Laravel Redsys Payments Gateway

2013.6k](/packages/creagia-laravel-redsys)

PHPackages © 2026

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