PHP Encoding

Open-source PHP projects categorized as Encoding

Top 6 PHP Encoding Projects

  • hashids

    A small PHP library to generate YouTube-like ids from numbers. Use it when you don't want to expose your database ids to the user.

  • Project mention: Show HN: Sqids (formely Hashids) – Generate short unique IDs from numbers | news.ycombinator.com | 2023-11-07

    More than 10 years ago, I released the first version of Hashids in PHP, an encoding library to generate unique IDs from numbers [0]. Over the years, many developers have converted the library to plenty of other programming languages. It was nice to see it grow, but there were always a few things that bothered me about the original algorithm, so a few months ago I've decided to try and address those issues.

    With lots of help from the community, we've rebranded the library to Sqids (you can see the proposed changes here [1]).

    The new library generates unique IDs faster and with a simpler algorithm. You can read all about it on the FAQ page [2] and try it out via the playground [3]. As always, feedback is welcome via HN or Github.

    [0] https://github.com/vinkla/hashids/commit/98d72eac456aabbf2da...

  • psl

    📚 PHP Standard Library - a modern, consistent, centralized, well-typed, non-blocking set of APIs for PHP programmers

  • Project mention: PHP libraries and tools | dev.to | 2023-10-18

    azjezz/psl: PHP Standard Library - a modern, consistent, centralized, well-typed, non-blocking set of APIs for PHP programmers

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • constant_time_encoding

    Constant-Time Character Encoding in PHP Projects

  • Project mention: PHP RFC: Deprecations for PHP 8.3 | /r/PHP | 2023-05-30

    If you want some random string (e.g. for a random filename), you can use bin2hex(random_bytes(16)). This will generate a random 128 bit identifier using the CSPRNG. To be extra safe, use https://github.com/paragonie/constant_time_encoding instead of bin2hex. The constant time encoder prevents some additional (more obscure) attacks.

  • tinyID

    Shorten and obfuscate IDs

  • base45

    PHP based base45 encoder/decoder that is fully compatible with draft-faltstrom-base45-03

  • file

    Class library to read, write and, view files in PHP. (by WebFiori)

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

PHP Encoding related posts

Index

What are some of the best open-source Encoding projects in PHP? This list will help you:

Project Stars
1 hashids 5,183
2 psl 1,148
3 constant_time_encoding 775
4 tinyID 32
5 base45 8
6 file 3

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com