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

Packagist Client Laravel Package

jordanpartridge/packagist-client

A lightweight PHP client for the Packagist API that lets Laravel and PHP apps query package metadata, versions, and download stats through a simple, expressive wrapper. Clean Laravel integration with config and service container support.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Build vs. buy for package metadata lookups: The packagist-client package wraps the Packagist API behind a Laravel-friendly client, letting the team query package metadata (versions, downloads, dependencies, maintainers) without hand-rolling HTTP calls, auth handling, or response parsing. Relevant for internal tooling such as dependency dashboards, license/security audits, or "what version are we on" reporting.
  • Roadmap input for developer-experience features: If the product surfaces package health, upgrade paths, or Composer ecosystem data to users, this package could short-circuit weeks of integration work in favor of configuration and thin domain logic.
  • Use-case validation before investment: At v0.1.0a (alpha), this is a signal to run a timeboxed spike, not a commitment. Good fit for prototypes, internal admin panels, and CLI utilities; not yet a foundation for customer-facing SLAs.
  • Make/buy posture: Choosing a maintained community client over an in-house wrapper reduces surface area for HTTP/auth churn, but only if the dependency is trustworthy and actively maintained.

When to Consider This Package

Adopt (or spike) it when:

  • You need read access to Packagist metadata (package info, version lists, download stats, dependency graphs) inside a Laravel app and want idiomatic integration rather than raw Http::get() calls.
  • The use case is internal or non-critical — dashboards, tooling, reporting — where the blast radius of an alpha-stage dependency is low.
  • You value consistency with Laravel conventions (config, service providers, facades/DTOs) over absolute API coverage.

Look elsewhere (or build your own thin wrapper) when:

  • You require production-grade stability, semantic versioning guarantees, or vendor support — v0.1.0a is pre-1.0 and alpha; expect breaking changes and incomplete coverage.
  • You need write operations on Packagist (publishing, token management) or guarantees of full endpoint parity.
  • Your requirements are narrow enough that a 30-line HTTP wrapper is simpler than adding a dependency.
  • Maintenance risk matters — single-maintainer, pre-1.0 packages warrant a dependency-review gate and an exit plan (it's a small surface area, so replacement cost is low).

Given the terse v0.1.0a release notes (a changelog link only), treat this as an initial, exploratory release — validate API coverage, changelog hygiene, and release cadence before wider adoption.

How to Pitch It (Stakeholders)

For executives: We're tracking a lightweight, open-source Laravel package (packagist-client, v0.1.0a) that connects our app to Packagist — the PHP package registry. It could save us development time on internal tools that report on dependencies and package health. It's early-stage and free, so the recommendation is a low-cost spike, not a production commitment. No budget impact beyond a short engineering evaluation.

For engineering: This is a Laravel-native client for the Packagist API. Pros: fits our stack, removes boilerplate for metadata queries, likely covers the read endpoints we'd otherwise hand-roll. Caveats: pre-1.0 alpha, thin release notes, single maintainer — assume API surface will shift. Recommended path: timebox a spike against our actual query needs, pin the version, and wrap it behind a thin internal interface so we can swap it out cheaply if it stalls. Keep it internal-only until it hits 1.0 and shows sustained releases.

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.
adachsoft/changelog-linter
adachsoft/collection
payerurl/telegrambot-crypto-payment-instant-payout
dskripchenko/laravel-hybrid-search
riorizkyrainey/lara-ced
mehedimi/static-vel
zharp/zharp
nonsapiens/bigquery-model-sync
lgu-bayambang-ict-office/lgu-laravel-development-standards
andydefer/laravel-support
se7enxweb/flysystem
lampwick/laravel
jeslage/statamic-emojis
micahdshackelford/rmap-laravel
draftsmaninc/draftsman
square-bit/laravel-volition
himito/laravel-mailman
htinlynn/genius-helper
maco-studios/hephaestus
elmogy/larafast