PHPackages                             antoninmasek/laravel-max-upload-size-rule - 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. [Validation &amp; Sanitization](/categories/validation)
4. /
5. antoninmasek/laravel-max-upload-size-rule

ActiveLibrary[Validation &amp; Sanitization](/categories/validation)

antoninmasek/laravel-max-upload-size-rule
=========================================

Adds Rule::file()-&gt;maxUploadSize() validation rule, which will validate filesize against `upload\_max\_filesize` php.ini setting

0.1.0(11mo ago)310MITPHP ^8.2

Since Jun 25Compare

[ Source](https://github.com/antoninmasek/laravel-max-upload-size-rule)[ Packagist](https://packagist.org/packages/antoninmasek/laravel-max-upload-size-rule)[ Docs](https://github.com/antoninmasek/laravel-max-upload-size-rule)[ RSS](/packages/antoninmasek-laravel-max-upload-size-rule/feed)WikiDiscussions Synced 1mo ago

READMEChangelogDependencies (10)Versions (5)Used By (0)

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://github.com/antoninmasek/laravel-max-upload-size-rule).

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance52

Moderate activity, may be stable

Popularity8

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~117 days

Total

4

Last Release

335d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8faef5fac979c7f7fa3622af216db9734384499fa3890e62e9f6e97b421b204f?d=identicon)[antoninmasek](/maintainers/antoninmasek)

---

Top Contributors

[![antoninmasek](https://avatars.githubusercontent.com/u/31475951?v=4)](https://github.com/antoninmasek "antoninmasek (18 commits)")

---

Tags

laravelAntonin Maseklaravel-max-upload-size-rule

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/antoninmasek-laravel-max-upload-size-rule/health.svg)

```
[![Health](https://phpackages.com/badges/antoninmasek-laravel-max-upload-size-rule/health.svg)](https://phpackages.com/packages/antoninmasek-laravel-max-upload-size-rule)
```

###  Alternatives

[proengsoft/laravel-jsvalidation

Validate forms transparently with Javascript reusing your Laravel Validation Rules, Messages, and FormRequest

1.1k2.3M49](/packages/proengsoft-laravel-jsvalidation)[stevebauman/purify

An HTML Purifier / Sanitizer for Laravel

5325.6M19](/packages/stevebauman-purify)[axlon/laravel-postal-code-validation

Worldwide postal code validation for Laravel and Lumen

3853.3M1](/packages/axlon-laravel-postal-code-validation)[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)[ziming/laravel-zxcvbn

Zxcvbn Password validation rule for Laravel

3056.7k](/packages/ziming-laravel-zxcvbn)[laravel-validation-rules/phone

Validate that a phone number is in the correct format

69355.5k](/packages/laravel-validation-rules-phone)

PHPackages © 2026

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