fab2s/bom
fab2s/bom is a lightweight PHP utility for handling Byte Order Marks, with simple, dependency-free helpers to detect, strip, and manage BOM sequences in strings and files. It keeps UTF-8 content clean and stops invisible BOM characters from breaking output, headers, or comparisons.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| fab2s/utf8 | 0.85 | Multibyte-safe UTF-8 string utilities for PHP and Laravel. Provides dependable helpers for length, substring, case conversion, and encoding validation, so applications handle international text and emoji correctly without corrupting characters or breaking output. | 2 | 2 | 0 | 6K | 0 | 14.6 | 52.0 | MIT | 3 months ago | |
| fab2s/strings | 0.80 | fab2s/strings is a lightweight, fluent, multibyte-safe string manipulation library for PHP. It offers chainable helpers for transforming, formatting, inspecting, and comparing strings, plus convenient Laravel integration and an expressive API for everyday development tasks. | 2 | — | 0 | — | 0 | 14.6 | — | MIT | 3 months ago |
|
| fylax/forceutf8 | 0.76 | ForceUTF8 is a PHP library for cleaning and converting text to valid UTF-8. It fixes invalid byte sequences and double-encoded characters, making it useful for sanitizing user input, database data, and JSON/API output before storage or display. | 24 | 25 | 3 | 31K | 0 | 19.7 | 50.1 | BSD-3-Clause | 1 week ago | |
| voku/portable-utf8 | 0.75 | High-performance UTF-8 helper library for PHP with portable polyfills for mbstring and intl features. Provides fast string operations, validation, normalization, encoding fixes, and safe text handling across environments without extra extensions. | 518 | 523 | 89 | 513K | 8 | 7.8 | 44.4 | Apache-2.0 | — | |
| wapmorgan/binary-stream | 0.75 | A PHP library for reading and parsing binary data from streams and files, with convenient typed readers for integers, strings, and custom structures, plus seeking and position tracking for binary file formats. | 52 | 52 | 7 | 5K | 1 | 0.6 | 27.6 | MIT | 9 years ago | |
| boesing/psalm-plugin-stringf | 0.74 | A Psalm plugin that statically validates printf and sprintf format strings, checking that placeholders match the number and types of arguments passed. Mismatches are caught during analysis instead of at runtime, using Psalm's type inference to verify format specifiers across your codebase. | 12 | — | 2 | — | 6 | 2.7 | 5.3 | NOASSERTION | 3 years ago |
|
| neitanod/forceutf8 | 0.74 | Fix and normalize mixed-encoded PHP strings. ForceUTF8 converts unknown input (UTF-8, Latin-1/ISO-8859-1, Windows-1252, or mixes) to clean UTF-8, and repairs double-encoded “garbled” text via fixUTF8, with optional iconv flags. | 1,630 | 1,644 | 355 | 537K | 12 | 23.7 | 40.3 | — | 8 years ago | |
| phpmyadmin/motranslator | 0.74 | A PHP library for translating strings using Gettext MO files, with fast in-memory lookup, a Gettext-compatible API, and support for plural forms and contexts. No eval required. | 62 | 65 | 26 | 33K | 0 | 22.3 | 42.8 | GPL-2.0 | 2 months ago | |
| econea/nusoap | 0.74 | NuSOAP is a pure-PHP library for creating and consuming SOAP 1.1 web services with WSDL 1.1 and HTTP 1.0/1.1 support. No PHP extensions required. Install via Composer and call methods on the client. | 336 | 341 | 357 | 90K | 17 | 41.9 | 46.2 | — | 1 month ago | |
| christian-riesen/base32 | 0.74 | A strict RFC 4648 Base32 encoder and decoder for PHP, with support for the extended hex alphabet. Decoding rejects malformed input, and the package includes test vectors and unit tests. | 134 | 135 | 30 | 1M | 0 | 19.5 | 60.6 | MIT | 3 months ago | |
| brandembassy/file-type-detector | 0.74 | Detect file type and MIME by filename extension or by inspecting binary/stream content. Returns category, format, and MIME on success (or false). Includes a helper to resolve MIME only. Install via composer: brandembassy/file-type-detector. | 2 | 2 | 0 | 7K | 0 | 13.2 | 49.2 | MIT | 7 months ago | |
| edgaras/strsim | 0.74 | edgaras/strsim is a Laravel package for measuring and comparing string similarity. It helps power fuzzy search, typo-tolerant matching, duplicate detection, and suggestions with a simple, expressive API for ranking how alike two strings are. | 30 | 30 | 6 | 9K | 0 | 19.4 | 39.4 | MIT | 3 weeks ago | |
| devanoxltd/string-encoder | 0.73 | — | 0 | 0 | 0 | 48 | 0 | 0.6 | 23.4 | MIT | 1 year ago | |
| hoa/ustring | 0.73 | Hoa\Ustring is a PHP library for handling Unicode strings as objects, offering UTF-8-aware manipulation of grapheme clusters, case conversion, search, replace, and iteration for safer, more robust multilingual text processing in PHP applications. | 398 | 406 | 17 | 688K | 4 | 1.9 | 32.7 | — | 9 years ago | |
| webignition/disallowed-character-terminated-string | 0.73 | — | 5 | 5 | 0 | 35K | 0 | 0.4 | 52.0 | MIT | 6 years ago | |
| ianm/iso-639 | 0.73 | Provides ISO 639 language code data for PHP, mapping codes to language names so apps can display, validate, and look up locale or language identifiers. A lightweight dependency used by Flarum extensions for consistent language handling. | 0 | 0 | 0 | 1K | 0 | 0.0 | 42.9 | — | — | |
| wapmorgan/file-type-detector | 0.73 | A lightweight PHP library that detects file types by extension and MIME type, mapping files to broad categories such as image, audio, video, document, archive, and other. Useful for upload validation, file organization, and content handling in PHP applications. | 33 | 35 | 14 | 4K | 1 | 1.0 | 29.9 | MIT | 9 years ago |
How can I help you explore Laravel packages today?