PHPackages                             y0x54a/base64url-php - 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. y0x54a/base64url-php

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

y0x54a/base64url-php
====================

y0x54a/base64url-php

0.1.0(3y ago)114Apache-2.0PHPPHP &gt;=7.2.5

Since Aug 16Pushed 3y ago1 watchersCompare

[ Source](https://github.com/y0x54a/base64url-php)[ Packagist](https://packagist.org/packages/y0x54a/base64url-php)[ RSS](/packages/y0x54a-base64url-php/feed)WikiDiscussions main Synced 1mo ago

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

base64url-php
=============

[](#base64url-php)

[![packagist](https://camo.githubusercontent.com/2f2ac9276953f28dd0cf5ade87b520cf1f25b6bbb867f81e64eb803ce0f07167/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7930783534612f62617365363475726c2d706870)](https://packagist.org/packages/y0x54a/base64url-php)[![Build Status](https://github.com/y0x54a/base64url-php/workflows/ci/badge.svg?branch=main)](https://github.com/y0x54a/base64url-php/actions)[![codecov](https://camo.githubusercontent.com/0a523e0519a27aa7e411b631c7a7814a4318e40be0025668ff31a97644aea4c4/68747470733a2f2f636f6465636f762e696f2f67682f7930783534612f62617365363475726c2d7068702f6272616e63682f6d61696e2f67726170682f62616467652e7376673f746f6b656e3d465a4754454643314e4c)](https://codecov.io/gh/y0x54a/base64url-php)

Installing
----------

[](#installing)

```
composer require y0x54a/base64url-php
```

Example
-------

[](#example)

```
use Y0x54a\Base64url\Base64url;
```

```
Base64url::encode('foo bar baz');
// Zm9vIGJhciBiYXo
```

```
Base64url::decode('Zm9vIGJhciBiYXo');
// foo bar baz
```

```
Base64url::validate('Zm9vIGJhciBiYXo=');
// true
```

```
Base64url::validate('Zm9vIGJhciBiYXo===');
// false
```

```
Base64url::convertBase64ToBase64url('77+/');
// 77-_
```

```
Base64url::convertBase64urlToBase64('77-_');
// 77+/
```

API
---

[](#api)

- `encode(string $value): string`
- `decode(string $base64url): string`
- `validate(string $base64url): bool`
- `convertBase64ToBase64url(string $base64): string`
- `convertBase64urlToBase64(string $base64url): string`

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity32

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1368d ago

### Community

Maintainers

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

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/y0x54a-base64url-php/health.svg)

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

###  Alternatives

[outerweb/filament-settings

Filament integration for the outerweb/settings package

3690.9k4](/packages/outerweb-filament-settings)[leeovery/wordpress-to-laravel

1142.4k](/packages/leeovery-wordpress-to-laravel)

PHPackages © 2026

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