astrogoat/affirm

A Affirm app for Strata

Fund package maintenance!
astrogoat

1.7.1 2024-03-23 16:34 UTC

This package is auto-updated.

Last update: 2024-04-23 16:40:46 UTC


README

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

An Affirm app for Stratum

Installation

You can install the package via composer:

composer require astrogoat/affirm

Usage

Include the script in your Blade file:

@include('affirm::script');

When enabled this will add the Affirm javascript. You now have access to Affirms's promotional messaging. See Affirm documentation for more info.

Testing

composer test

Releasing a new version

Use the included GitHub action to create a new release. Go to https://github.com/astrogoat/skeleton/actions/workflows/release.yml 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 -> Settings -> Branches -> Main (edit) -> "Allow specified actors to bypass required pull requests"

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.