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 Excludable Laravel Package

maize-tech/laravel-excludable

Laravel Excludable adds a trait that lets Eloquent models be hidden from queries by default, so you can exclude records globally while still including them on demand via scopes.

View on GitHub
Deep Wiki
Context7

Technical Evaluation

  • Release under review: 4.1.0, which adds Laravel 11.x compatibility via PR #30. No breaking changes, deprecations, or new product features are described in the release notes.
  • Architecture fit: likely a small, single-purpose Laravel/Eloquent utility package. It should have a low architectural footprint and fit applications that need model/query exclusion behavior without introducing a new platform dependency.
  • Integration feasibility: good for Laravel 11 estates because compatibility is now explicit. Adoption should be a Composer dependency plus any required trait/config wiring, but the exact API and service-provider behavior must be validated against the package docs and code.
  • Technical risk: the main risk is not the compatibility bump itself but Eloquent query semantics. Exclusion behavior can hide or include records globally, so incorrect configuration may affect authorization, reporting, and data integrity. The release note is too thin to confirm backward compatibility across prior Laravel/PHP versions.
  • Key questions:
    • Which Laravel and PHP versions are supported by 4.1.0?
    • Is this release backward compatible with prior 4.x versions?
    • Does the Laravel 11 change alter dependency constraints, service-provider registration, or query behavior?
    • What is the package’s test matrix for Laravel 11, PHP versions, databases, and Octane?
    • Who maintains the package, and what is the release/security cadence?
    • Does it interact safely with soft deletes, global scopes, tenancy, policies, and reporting queries?

Integration Approach

  • Stack fit: suitable for Laravel applications using Eloquent that need reusable exclusion behavior. It is not a core platform component and should be treated as an application-level utility.
  • Migration path: for existing 4.x users, attempt a normal Composer minor upgrade and validate the full test suite. For new adoption, install 4.1.0, wire the trait/config as documented, and add focused tests around inclusion/exclusion behavior.
  • Compatibility: Laravel 11.x is the only newly stated compatibility target. Do not assume Laravel 12 or untested PHP/database combinations without verification. Check Composer constraints before rollout.
  • Sequencing:
    1. Confirm package API, license, maintainer activity, and supported version matrix.
    2. Run a branch spike on Laravel 11 with representative models and queries.
    3. Add contract tests for excluded/included records, authorization paths, and reporting queries.
    4. Roll out behind a feature flag or limited model scope.
    5. Monitor query behavior and data-access anomalies before broad adoption.

Operational Impact

  • Maintenance: likely low day-to-day maintenance, but the package depends on ongoing Laravel compatibility releases. Small OSS packages can lag behind future Laravel/PHP releases, so an internal owner should track updates.
  • Support: community/GitHub support is expected; no vendor SLA is indicated. Teams should document usage patterns and keep a local fallback or removal plan.
  • Scaling: exclusion logic is query-level, so performance depends on how it composes with Eloquent scopes and indexes. Validate on high-volume tables and reporting workloads; global query modifications can change query plans.
  • Failure modes: unintended record exclusion/inclusion, scope leakage across models, silent behavior changes during upgrades, Composer dependency conflicts, and missing Laravel 11 edge-case coverage.
  • Ramp-up: low for Laravel developers familiar with Eloquent traits and scopes; medium for teams that need to reason about data visibility and reporting correctness. Provide examples, guardrails, and a short runbook before production use.
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.
oxygen/auth
relicsoftware/barakah-payment-gateway
tobya/work-with-composer
equipc/laravel-email-validator
equipc/laravel-email-database-log
adedsec/nova-translated-labels
wazza/laravel-db-encryption
hokny/laravel-generator
vonsogt/backup
jengo/queues
jeremykenedy/laravel-observability
coleus/frame
thtg88/journalism
filagora/filagora-ai-forums
rlacerda83/query-parser
socialdept/atp-orm
cboxdk/laravel-assistant-client
socialdept/atp-resolver
socialdept/tenant-domains
tautvydasr/blade-class-names