Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Laravel Readable Laravel Package

pharaonic/laravel-readable

Laravel Readable adds human-friendly formatting helpers to your Laravel app—turn numbers into 1.2K, dates into "3 days ago", bytes into file sizes, and more, with simple Blade-ready functions.

Deep Wiki
Context7

Product Decisions This Supports

  • Build vs. buy for presentation-layer formatting. The package bundles number abbreviation, file-size rendering, relative timestamps ("3 hours ago"), date formatting, and duration output behind static methods, readable_*() helpers, and Blade directives. That is typically 150–400 lines of glue code a team would otherwise write, test, and maintain — so it informs the "adopt, wrap, or build" call for any Laravel app with data-dense UI.
  • Scope decisions on localization and copy quality. If the roadmap includes polish work on admin dashboards, activity feeds, audit logs, notification emails, invoices, or storage/quota screens, this is a candidate to shortcut that work rather than a bespoke helper module.
  • Prioritization of UX-consistency debt. Centralizing "2.3 MB" / "1.2k" / "4 days ago" formatting removes per-team ad-hoc number_format() and Carbon::diffForHumans() calls, which supports a decision to fund a small formatting-consistency initiative instead of scattered refactors.
  • Platform-version decisions (important). Laravel 10/11 shipped native Number::fileSize(), Number::format(), Number::abbreviate(), Number::ordinal(), Number::percentage(), and Number::spell(). For teams on current Laravel, much of this package's surface is already first-party — which turns the decision from "adopt a dependency" into "do we need the Blade-directive ergonomics and duration/date helpers at all?"
  • Vendor-risk decisions. 23 stars and a single-maintainer profile (the "pharaonic" namespace) is a low-signal adoption indicator; this supports a decision to treat it as a leaf dependency, pinned, wrapped behind an internal facade, never called directly from domain code.

When to Consider This Package

Adopt (or trial) when:

  • You are on Laravel and want Blade-level ergonomics — directives in views without importing classes or writing view composers.
  • You need duration formatting specifically (e.g., "1h 24m"), which is the weakest area of Laravel's native Number helpers and Carbon's defaults.
  • The surface is cosmetic and low-blast-radius: dashboards, internal tools, admin panels, marketing-adjacent UI. A broken formatter degrades copy, not correctness.
  • You can wrap it: one internal Formatter/Humanize service that delegates to this package, so swapping it out is a one-file change.
  • Team is small and the alternative cost is real engineering time on a non-differentiating concern.

Look elsewhere (or skip) when:

  • Localization is a requirement. For CLDR-grade pluralization, locale-aware number/date/relative-time output, use PHP intl / NumberFormatter / IntlDateFormatter, or a translation-backed layer (Carbon's diffForHumans with locale, nesbot/carbon + symfony/translation). A package like this rarely matches ICU behavior.
  • You're on modern Laravel and only need file sizes/numbers. Use the framework's Number helpers and skip the dependency entirely.
  • Support and lifecycle matter. No stated SLA, low star count, no evidence of a security policy or broad contributor base. For regulated, long-lived, or security-reviewed codebases, an unreviewed micro-dependency is a net cost.
  • You need currency conversion, timezone-correct business logic, or financial precision. These are domain concerns, not display helpers.
  • You need accessibility-specific output (screen-reader-friendly absolute dates alongside relative ones, <time datetime> semantics) — expect to build that yourself.
  • Treat the stated last release of 2026-10-11 with suspicion — verify on Packagist/GitHub before relying on it as a maintenance signal.

How to Pitch It (Stakeholders)

For executives: This is a small, MIT-licensed presentation utility that turns raw numbers, timestamps, and byte counts into human-readable copy. It is not infrastructure. The value is engineering time saved on cosmetic formatting across dashboards and notifications; the cost is one more dependency to track. Recommendation: trial, not commit — wrap it behind an internal interface, pin the version, and revisit once we confirm whether Laravel's built-in Number helpers plus a handful of Blade components cover 80% of the need.

For engineering: Treat it as a leaf dependency behind a single Humanizer/Formatter abstraction. Do not call package statics from domain or service code. Audit the source (it is small) before merge, confirm the release/tag history on Packagist, and confirm locale behavior against intl for any user-facing copy in non-English markets. Budget roughly half a day for the wrapper, tests, and a swap-out path; if the audit uncovers thin test coverage or hardcoded English strings, fall back to Number::*, Carbon::diffForHumans(), and a local Blade component — the delta is small.

Bottom line: low-risk to try, low-cost to replace, and only clearly worth adopting if Blade directives and duration formatting are a recurring need. The 23-star signal means we adopt it on our terms, not as a platform bet.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
3mdikram/worldmoneywords
snowsoft/config
itmosoft/laravel-subscriptions
larva/laravel-ai-qwen
diephp/sequences
users-au/socialite-provider
twidpay/twid-logger
mrnewport/laravel-plaid
mrnewport/laravel-repo
mrnewport/laravel-docsign
mrnewport/laravel-stow
mrnewport/laravel-flow
mrnewport/laravel-priceable
mrnewport/laravel-nestedterms
fredmeng/laravel-apidoc-generator
itstructure/laravel-multilingual-tools
pdustdar/elasticsearch
markupai/php-sdk
rlacerda83/lumem-microservice-shipment
uni-method/symfony-lib