PHPackages                             penance316/laravel-base64-validator - 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. penance316/laravel-base64-validator

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

penance316/laravel-base64-validator
===================================

laravel base64 validation package

v1.0(8y ago)434.0k↓65.1%MITPHPPHP &gt;=5.4.0

Since Jan 9Pushed 8y agoCompare

[ Source](https://github.com/penance316/laravel-base64-validator)[ Packagist](https://packagist.org/packages/penance316/laravel-base64-validator)[ RSS](/packages/penance316-laravel-base64-validator/feed)WikiDiscussions master Synced 3d ago

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

Laravel Base64 Validator
========================

[](#laravel-base64-validator)

Install
-------

[](#install)

```
composer require "penance316/laravel-base64-validator"

```

Add the required validator to boot method of `app/Providers/AppServiceProvider.php`

```
Validator::extend('base64', 'Penance316\Validators\Base64Validator@validateBase64');

```

Add the following lines to `resources/lang/en/validation.php`

```
'base64' => 'The :attribute must be a valid Base64 string.',

```

Use like other validators

```
...
'reference'     => 'required|max:255',
'data'          => 'required|base64',
'email'         => 'required|email',
...

```

Test
----

[](#test)

Use vendor phpunit

```
./vendor/phpunit/phpunit/phpunit --testdox

```

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity32

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity58

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

Unknown

Total

1

Last Release

3098d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e92ea800ea3bab3f63624d43fd6172cc141357c2dc991333c3c105d077a05636?d=identicon)[penance316](/maintainers/penance316)

---

Top Contributors

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

---

Tags

laravelvalidatorbase64encode

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/penance316-laravel-base64-validator/health.svg)

```
[![Health](https://phpackages.com/badges/penance316-laravel-base64-validator/health.svg)](https://phpackages.com/packages/penance316-laravel-base64-validator)
```

###  Alternatives

[intervention/validation

Additional validation rules for the Laravel framework

6827.2M20](/packages/intervention-validation)[proengsoft/laravel-jsvalidation

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

1.1k2.4M50](/packages/proengsoft-laravel-jsvalidation)[sunspikes/clamav-validator

Custom Laravel anti-virus validator for file uploads using ClamAV.

3722.1M6](/packages/sunspikes-clamav-validator)[propaganistas/laravel-disposable-email

Disposable email validator

6023.0M7](/packages/propaganistas-laravel-disposable-email)[laravel-validation-rules/credit-card

Validate credit card number, expiration date, cvc

2462.4M7](/packages/laravel-validation-rules-credit-card)[illuminatech/validation-composite

Allows uniting several validation rules into a single one for easy re-usage

183530.2k](/packages/illuminatech-validation-composite)

PHPackages © 2026

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