PHPackages                             php-decimal/laravel - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. php-decimal/laravel

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

php-decimal/laravel
===================

Laravel integration package for decimal support

v1.1.2(7y ago)7187.3k↓10.8%1[1 issues](https://github.com/php-decimal/laravel/issues)[1 PRs](https://github.com/php-decimal/laravel/pulls)MITPHPPHP &gt;=7.0.0

Since Oct 28Pushed 3y ago2 watchersCompare

[ Source](https://github.com/php-decimal/laravel)[ Packagist](https://packagist.org/packages/php-decimal/laravel)[ RSS](/packages/php-decimal-laravel/feed)WikiDiscussions master Synced 2w ago

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

PHP Decimal: Laravel Integration
================================

[](#php-decimal-laravel-integration)

[![Packagist](https://camo.githubusercontent.com/7c0a4a5da740642c6312de5378a9fa95605d01a743d5625f21620e53fd2b280f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7068702d646563696d616c2f6c61726176656c2e737667)](https://packagist.org/packages/php-decimal/laravel)

Provides:

- Trait for models to cast `Decimal` objects.
- Global helper functions.

```
composer require php-decimal/laravel
```

###  Health Score

37

—

LowBetter than 81% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity40

Moderate usage in the ecosystem

Community11

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 92.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 ~42 days

Recently: every ~58 days

Total

7

Last Release

2601d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/761df764fa80c32031884a5dd2376cf7e70c0fa152eaa141fd68f12b4a761b9f?d=identicon)[rtheunissen](/maintainers/rtheunissen)

---

Top Contributors

[![rtheunissen](https://avatars.githubusercontent.com/u/809191?v=4)](https://github.com/rtheunissen "rtheunissen (12 commits)")[![piurafunk](https://avatars.githubusercontent.com/u/12569976?v=4)](https://github.com/piurafunk "piurafunk (1 commits)")

### Embed Badge

![Health badge](/badges/php-decimal-laravel/health.svg)

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

###  Alternatives

[deptrac/deptrac

Deptrac is a static code analysis tool that helps to enforce rules for dependencies between software layers.

3.0k9.8M297](/packages/deptrac-deptrac)[dan0sz/resource-hints-magento2

Add `&lt;link rel='preconnect'&gt;`, `&lt;link rel='dns-prefetch'&gt;`, `&lt;link rel='prefetch'&gt;`, or `&lt;link rel='preload'&gt;` resource hints to Magento 2's head.

21101.0k](/packages/dan0sz-resource-hints-magento2)[rap2hpoutre/remove-stop-words

Remove stop words from a string

1528.8k](/packages/rap2hpoutre-remove-stop-words)

PHPackages © 2026

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