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

Larapi Laravel Package

one2tek/larapi

Larapi is a Laravel package for building REST APIs with less boilerplate. It offers convenient response helpers, CRUD-oriented endpoints, and common API patterns so teams can ship consistent JSON APIs faster while staying within Laravel conventions.

View on GitHub
Deep Wiki
Context7

Technical Evaluation

Basis of this assessment: release notes for 2.0.11 only. No source review, no CI results, no composer.json inspection. Confidence is correspondingly low; the questions below are what would move it.

Architecture fit. larapi is an opinionated REST scaffolding layer for Laravel — base controllers, a repository abstraction, and a response-formatting convention. Fit is a values question more than a technical one: do we want a packaged convention layer we don't own, or in-house base classes we do? Adding Laravel 9 support raises the package from "pinned to a prior framework generation" to "deployable in a current-at-the-time app skeleton" (PHP 8.0+, Symfony 6 components). That is the entire substance of this release.

Integration feasibility. Composer-level. The open feasibility question is whether the published service provider, config publishing, and route/middleware registration still behave correctly under Laravel 9's bootstrap and route-caching paths. The release note describes a constraint change, not a code change — which is either reassuring (nothing needed fixing) or a yellow flag (constraint widened without documented verification). We cannot tell which from the notes.

Technical risk.

  • Semver smell. Framework major-version support shipped as a patch (2.0.10 → 2.0.11). Blast radius for existing Laravel 8 consumers is low, but it widens the installable set; a composer update in a monorepo can silently move this package onto a Laravel 9 dependency graph.
  • PHP floor. Laravel 9 requires PHP >= 8.0.2. Any team still on 7.4 loses the upgrade path through this release.
  • Coverage evidence. No CI matrix or test results referenced. "Add Laravel 9 support" without a stated test surface is an assertion, not a guarantee.
  • Bus factor. Small maintainer set; @IIVR is a first-time contributor and this is their sole change.
  • Cadence. Laravel 9 is not the current major. If this shipped near Laravel 9's own support window, the package trails current Laravel by one to two majors — relevant for our upgrade planning, not for this release specifically.

Key questions.

  1. Is Laravel 9 in the CI matrix, and what actually runs against it?
  2. What are the exact illuminate/* and php constraints in 2.0.11 versus 2.0.10?
  3. Were there code changes behind the constraint bump (provider, config, response macros)?
  4. Is this a one-off catch-up or the start of ongoing framework tracking? What is the plan for Laravel 10/11?
  5. Any behavior change for existing 2.0.x consumers staying on Laravel 8?

Integration Approach

Stack fit. Viable where the stack is Laravel 9 / PHP 8.0–8.1 and the team accepts a thinly maintained third-party convention layer. Good for greenfield internal APIs where scaffolding speed outweighs long-term vendor ownership. Poor for platforms expected to live three-plus years without a dependency reckoning.

Migration path. No code migration is implied for existing 2.0.10 consumers. Two defensible choices: pin 2.0.10 and defer, or adopt 2.0.11 on a branch with a full suite run and a reviewed composer.lock diff. For a Laravel 8 → 9 app upgrade, this release is a prerequisite, not a blocker — sequence it inside that upgrade rather than as a standalone bump.

Compatibility. Additive at the constraint level. Risk concentrates in the transitive set (illuminate/*, symfony/*); confirm nothing else in the tree pins illuminate below 9.

Sequencing.

  1. Spike on a throwaway branch: composer update --dry-run first, inspect the lock diff before applying.
  2. Run the app's existing suite plus a smoke pass over every route and controller larapi provides.
  3. Stage under realistic load — watch for silent shifts in response formatting and exception rendering.
  4. Promote only after 3; keep a 2.0.10 revert branch for one release cycle.

Operational Impact

Maintenance. Low ceremony as a dependency, but the cadence reads reactive — framework support arriving after the framework's peak. Budget for periodic forced upgrades rather than assuming passive drift.

Support. No evidence of a support policy, security disclosure process, or LTS commitment. Treat as community-supported, best-effort. For anything customer-facing, wrap it: keep the package behind our own base classes so swapping to in-house code or a fork stays contained.

Scaling. The package is request-path scaffolding; scaling characteristics are the application's, not the package's. The one thing to verify under load rather than assume: any per-request reflection or config resolution in the base controller path.

Failure modes.

  • Silent constraint drift — composer update pulls 2.0.11 and shifts illuminate versions across the lockfile. Mitigate with committed lockfiles and CI lock diffs.
  • Abandonment — package stalls at Laravel 9 while we move to 10/11. Mitigate with the wrapper layer and a written exit path (fork or replace; roughly 1–3 engineer-days given the surface area).
  • Untested-on-9 defects in edge paths — exception rendering, pagination, validation response shape. Mitigate with the step-2 smoke pass.

Ramp-up. Near zero for Laravel-fluent engineers; the conventions are the only curve, call it half a day to read the base classes and one example controller. The real cost is organizational — someone must own the fork-or-upgrade decision, because the maintainer will not.

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.
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
frankyso/ipaymu
3mdikram/worldmoneywords
snowsoft/config
itmosoft/laravel-subscriptions
larva/laravel-ai-qwen
adachsoft/api-version-bundle
cgv/localized-resource
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox
pairus/product-data
fayne/laravel-filament-cms-core