PHPackages                             smart-over/base64-validation - 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. smart-over/base64-validation

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

smart-over/base64-validation
============================

Lumen validators for base64 encoded files

1.1.1(7y ago)062PHPPHP ^7.2

Since May 15Pushed 7y agoCompare

[ Source](https://github.com/smart-over/base64-validation)[ Packagist](https://packagist.org/packages/smart-over/base64-validation)[ RSS](/packages/smart-over-base64-validation/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependencies (1)Versions (3)Used By (0)

Laravel validators for base64 encoded files, includes versions of laravel files validation for base64 encoded files.

Forked from

Requirements
------------

[](#requirements)

- PHP: 7.1+
- Laravel: 5.5+

Install
-------

[](#install)

- Install composer package to your laravel project

```
$ composer require smart-over/base64-validation
```

Using
-----

[](#using)

Use base64 validation rules as usual Laravel validation rules. Base64 rules variants supports all parameters from their original Laravel rules.

```
public function rules(): array
{
   return [
       'attachment' => 'sometimes|base64dimensions:min_width=100,min_height=200',
   ];
}
```

Available rules
---------------

[](#available-rules)

base64 ruleanalog of Laravel rulebase64maxmax (for file)base64minmin (for file)base64dimensionsdimensions (for image)base64filefilebase64imageimagebase64mimetypesmimetypesbase64mimesmimesbase64betweenbetween (for file)base64sizesize (for file)License
-------

[](#license)

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

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 66.7% 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 ~289 days

Total

2

Last Release

2679d ago

PHP version history (2 changes)1.0PHP ^7.1

1.1.1PHP ^7.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/46518053?v=4)[SmartOver](/maintainers/smart-over)[@smart-over](https://github.com/smart-over)

---

Top Contributors

[![smart-over](https://avatars.githubusercontent.com/u/46518053?v=4)](https://github.com/smart-over "smart-over (4 commits)")[![crazybooot](https://avatars.githubusercontent.com/u/4480913?v=4)](https://github.com/crazybooot "crazybooot (2 commits)")

### Embed Badge

![Health badge](/badges/smart-over-base64-validation/health.svg)

```
[![Health](https://phpackages.com/badges/smart-over-base64-validation/health.svg)](https://phpackages.com/packages/smart-over-base64-validation)
```

###  Alternatives

[pearl/lumen-request-validate

Lumen doesn't have form request validator seperatly. This package helps developers to segregate the validation layer from the controller to a separate dedicated class

45397.3k2](/packages/pearl-lumen-request-validate)[chaoswey/taiwan-id-validator

台灣身分證、統一編號驗證

319.9k](/packages/chaoswey-taiwan-id-validator)

PHPackages © 2026

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