Base 64 URL Safe Encoding/Decoding PHP Library

Fund package maintenance!

Installs: 25 058 420

Dependents: 52

Suggesters: 0

Security: 0

Stars: 151

Watchers: 6

Forks: 16

Open Issues: 0

v2.0.4 2020-11-03 09:10 UTC


Scrutinizer Code Quality Coverage Status Build Status


Latest Stable Version Total Downloads Latest Unstable Version License

This library aims to provide a fast Base64 URL Safe encoder/decoder as described by the RFC 4648.

The Release Process

The release process is described here.


This library needs at least PHP 7.1.

It has been successfully tested using PHP 7.1, PHP 7.2, PHP 7.3, PHP 7.4 and nightly.


The preferred way to install this library is to rely on Composer:

composer require "spomky-labs/base64url"

How to use

Take a look at How to use to use this library.


I bring solutions to your problems and answer your questions.

If you really love that project and the work I have done or if you want I prioritize your issues, then you can help me out for a couple of 🍻 or more!

Become a Patreon


Requests for new features, bug fixed and all other ideas to make this library useful are welcome. Please follow these best practices.


This software is release under MIT licence.