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

Stubs Laravel Package

ralphjsmit/stubs

Take control of Laravel's generator stubs. This package lets you publish and override the template files behind artisan make commands, so generated classes, migrations, and tests follow your project's own conventions and coding style, all configured simply.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

Frame it as a tooling line item, not a roadmap commitment. With 18 stars, zero dependents, and no release since February 2023, this package cannot carry a product capability decision. What it can do is support a small set of process and ergonomics decisions — and only if you keep the scope honest.

  • Convention enforcement without review overhead ("stubs" reading). If onboarding speed, architectural consistency, or boilerplate churn in code review is a stated quarterly goal, publishable artisan make:* stubs let you encode house style — DTOs, actions, form requests, factories, test scaffolds — once, so generated code is compliant by default. This supports a process decision ("consistency by tooling, not by code review"), not a product feature. The metrics that make it a real decision: time-to-first-merged-PR for new engineers, review comments per boilerplate file, and percentage of new classes that match house patterns on first pass.
  • Internal file-handling ergonomics ("filesystem" reading). At most this informs whether internal utilities — admin exports, seeders, fixtures, migration scripts — use a fluent wrapper or the native Storage facade directly. It is explicitly not an input to decisions about customer uploads, media libraries, tenant disk segregation, backup pipelines, or anything with an SLA. Those are reliability and compliance calls made on first-party Flysystem.
  • Build vs. buy for developer experience. The real alternative is not a competing package — it is an afternoon of internal work. A thin adapter class over Storage, or a set of committed stub files, captures roughly 90% of the benefit with 100% of the ownership. Model this as build vs. adopt-vs-build, and at this size the build option usually wins.
  • A cheap test of your dependency governance. Zero dependents, an 18-star ceiling, a stale release train, and a single maintainer mean this package should trip SBOM, provenance, and supported-versions gates. Attempting adoption is a low-cost way to find out whether those gates are real or decorative. If it sails through, that is a governance finding worth more than the package itself.
  • Explicitly not supported: anything where file-handling correctness, streaming or resumable semantics, vendor support, CVE triage, or a security response path is a requirement.

Gating caveat before any of the above: the record is internally inconsistent. The install name ralphjsmit/stubs describes a stub-publishing package; the repository URL and the "fluent filesystem" description point at ralphjsmit/filesystem. These support different decisions with different risk profiles — one is a build-time conventions tool with near-zero runtime blast radius, the other is a runtime layer sitting in front of real file I/O. Until identity is confirmed against Packagist and source, this artifact is unresolved and should not influence a roadmap commitment.

When to Consider This Package

Adopt only when all of the following hold:

  • Identity is verified. Correct Composer name, namespace, service provider, and a clean sandbox install against your actual Laravel/PHP matrix. This is a gate, not a formality — a 2023 release on a 2025/2026 runtime is the most likely failure point, and the metadata mismatch means you currently don't know what you'd be pinning.
  • The scope is internal and non-critical. Dev scripts, seeders, fixtures, scaffolding conventions. A bug means a rerun, not an incident.
  • You are already on Laravel and want sugar over primitives you already own — not a new abstraction, engine, or deployment dependency.
  • A named internal owner exists who will pin an exact version, add a CODEOWNERS entry, and budget roughly half a day a year for re-evaluation or forking.
  • You can wrap it. One internal service class, or committed stub files with a documented regeneration step, so a revert is a single-file change rather than a sweep.
  • The benefit is measurable at real call sites — concrete boilerplate eliminated, not aesthetic preference.
  • Speed beats longevity — a spike, POC, or hackathon where MIT licensing and a fast API outweigh the absence of a support contract.

Look elsewhere when:

  • Customer-facing file handling is in scope — uploads, PII, billing artifacts, anything with an SLA or compliance exposure. Use first-party Storage/Flysystem or a maintained package with a disclosure process.
  • Your organization enforces dependency governance. Zero dependents, 18 stars, stale cadence. Don't spend political capital overriding the gate for an ergonomics library.
  • You need vendor support or CVE triage. Assume no upstream response.
  • Large-file, streaming, or resumable workloads are involved. An extra abstraction layer is precisely what you'd end up debugging yourself.
  • The identity mismatch cannot be resolved. Unresolved means unsupported; stop.
  • The gain is cosmetic. If a thin internal adapter or a handful of committed stubs wins in an afternoon, that is the better buy.

How to Pitch It (Stakeholders)

For executives — one paragraph: A small, free (MIT) Laravel helper. Depending on which package the record actually refers to, it either standardizes the boilerplate files artisan make:* generates, or makes internal file-handling code shorter. It is not a platform, not a paid dependency, and not a capability we lack — Laravel already ships the underlying scaffolding and storage APIs. The realistic upside is a modest amount of engineering time saved on internal tooling and onboarding consistency. The realistic downside is a single-maintainer, near-zero-adoption dependency with no release since February 2023 and a metadata mismatch meaning we don't yet know which package we'd install. Recommendation: low-risk, low-reward. Acceptable only for internal, non-customer-facing utilities, only after identity and compatibility are verified, only behind an internal adapter with a documented fallback to native Laravel APIs, and only if engineering — not the roadmap — absorbs the ownership cost. It should never touch customer data or anything with an uptime commitment. Budget hours, not a sprint; if evaluation costs more than a day, stop and build it internally.

For engineering:

  • Resolve identity before writing code. Check Packagist, composer.json constraints, namespace, and service provider. stubs and filesystem imply different work — treat the mismatch as a blocker, not a footnote.
  • This is a velocity bet, not a capability bet. Native Storage/Flysystem and Laravel's own stub publishing already do the job. Adopt only where you can demonstrate concrete boilerplate reduction.
  • Wrap it. One internal service class, or committed stubs with a regeneration runbook. Revert should be an afternoon.
  • Pin and own it. Exact version, CODEOWNERS entry, annual re-evaluation, and a written "when not to use this" note for the team.
  • Keep it out of compliance-scoped paths, streaming/resumable flows, and anything requiring a security response commitment.
  • Pre-adoption checklist: correct package name and version; clean sandbox install on our Laravel/PHP matrix; source reviewed for path handling and exception behavior against Storage; open issues scanned; no known vulnerabilities. With zero dependents and a 2023 release, plan for no upstream support.
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.
frankyso/ipaymu
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