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

ActiveLibrary

astrogoat/discounts
===================

A Discounts app for Strata

3.6.0(8mo ago)014.1k↓50%MITPHPPHP ^8.3CI failing

Since Dec 28Pushed 8mo ago4 watchersCompare

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

READMEChangelog (10)Dependencies (9)Versions (44)Used By (0)

A Discounts app for Strata
==========================

[](#a-discounts-app-for-strata)

[![Latest Version on Packagist](https://camo.githubusercontent.com/eb1fdd35a3c55c45c88aa675411be477847dfb6c4461bc38ea538c1320e67a02/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f617374726f676f61742f646973636f756e74732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/astrogoat/discounts)[![GitHub Tests Action Status](https://camo.githubusercontent.com/2ff443bcd6520cfc19eef945f1709fdb1099dd0ee3504e40d77167f0e41a32a9/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f617374726f676f61742f646973636f756e74732f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/astrogoat/discounts/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/c2f72c53219c5ed48e2a33fb1ec6e5c2213b307692f2a2c7343643523248eae2/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f617374726f676f61742f646973636f756e74732f436865636b253230262532306669782532307374796c696e673f6c6162656c3d636f64652532307374796c65)](https://github.com/astrogoat/discounts/actions?query=workflow%3A%22Check+%26+fix+styling%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/f18fa729115ecd63b2111df4702864cb921c1b7454ba7362a2e2370cdc626e28/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f617374726f676f61742f646973636f756e74732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/astrogoat/discounts)

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

[](#installation)

You can install the package via composer:

```
composer require astrogoat/discounts
```

Usage
-----

[](#usage)

```
$discounts = new Astrogoat\Discounts();
echo $discounts->echoPhrase('Hello, Astrogoat!');
```

Testing
-------

[](#testing)

```
composer test
```

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)

- [Laura Tonning](https://github.com/tonning)
- [All Contributors](../../contributors)

This discounts package is forked from the awesome [Spatie discounts package](https://github.com/spatie/package-discounts-laravel#support-us). Please go support them if you can.

License
-------

[](#license)

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

###  Health Score

48

—

FairBetter than 94% of packages

Maintenance63

Regular maintenance activity

Popularity24

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity77

Established project with proven stability

 Bus Factor1

Top contributor holds 80.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 ~34 days

Recently: every ~50 days

Total

40

Last Release

257d ago

Major Versions

1.4.0 → 2.0.02022-05-13

2.16.0 → 3.x-dev2024-08-19

2.x-dev → 3.0.52024-09-26

PHP version history (3 changes)1.0.0PHP ^8.0

v2.8.0PHP ^8.1

3.x-devPHP ^8.3

### 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 (79 commits)")[![miles-bot](https://avatars.githubusercontent.com/u/75677136?v=4)](https://github.com/miles-bot "miles-bot (17 commits)")[![garos4](https://avatars.githubusercontent.com/u/44570779?v=4)](https://github.com/garos4 "garos4 (1 commits)")[![iamkarsoft](https://avatars.githubusercontent.com/u/5146869?v=4)](https://github.com/iamkarsoft "iamkarsoft (1 commits)")

---

Tags

laraveldiscountsastrogoat

###  Code Quality

TestsPest

Static AnalysisPsalm

Type Coverage Yes

### Embed Badge

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

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

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

PHPackages © 2026

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