PHPackages                             harishpatel143/laravel-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. harishpatel143/laravel-base64-validation

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

harishpatel143/laravel-base64-validation
========================================

This package use for validate the image upload by base64 encoded.

35.3k↓100%2PHP

Since Jan 17Pushed 7y agoCompare

[ Source](https://github.com/harishpatel143/laravel-base64-validation)[ Packagist](https://packagist.org/packages/harishpatel143/laravel-base64-validation)[ RSS](/packages/harishpatel143-laravel-base64-validation/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel validators for base64 encoded images.

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

[](#requirements)

- PHP: 7.1+
- Laravel: 5.5+

Install
-------

[](#install)

- Install composer package to your laravel application

```
$ composer require harishpatel143/laravel-base64-validation
```

Uses
----

[](#uses)

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

### In Form Request

[](#in-form-request)

```
public function rules(): array
{
       return [
           'avatar' => 'base64image',
       ];
}
```

### In Controller

[](#in-controller)

```
protected function validator(array $data)
{
       return Validator::make($data, [
           'avatar' => ['base64image'],
       ]);
}
```

###  Health Score

24

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/74aff87f1263b4c87488da7584c51745dc2050eeb393667ae49e26f5bba18ac2?d=identicon)[harishpatel143](/maintainers/harishpatel143)

---

Top Contributors

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

---

Tags

laravellaravel-validation

### Embed Badge

![Health badge](/badges/harishpatel143-laravel-base64-validation/health.svg)

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

###  Alternatives

[webmozart/assert

Assertions to validate method input/output with nice error messages.

7.7k882.5M1.1k](/packages/webmozart-assert)[composer/semver

Version comparison library that offers utilities, version constraint parsing and validation.

3.3k479.5M576](/packages/composer-semver)[laminas/laminas-escaper

Securely and safely escape HTML, HTML attributes, JavaScript, CSS, and URLs

21986.9M123](/packages/laminas-laminas-escaper)[swaggest/json-schema

High definition PHP structures with JSON-schema based validation

48612.2M70](/packages/swaggest-json-schema)[stevebauman/purify

An HTML Purifier / Sanitizer for Laravel

5245.4M14](/packages/stevebauman-purify)[ddeboer/vatin

Validate VAT identification numbers

1422.9M8](/packages/ddeboer-vatin)

PHPackages © 2026

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