sofa/laravel-global-scope
Deprecated: Laravel 5.2+ changed global scopes, so this package is no longer valid. For Laravel 5.0–5.1, it provides an abstract Eloquent GlobalScope to define scopes via apply() and makes removing scopes from queries easier.
where clauses.is_active = true).withoutGlobalScopes() calls).Scope interface.For Executives: "This package solves a technical debt issue for our Laravel 5/5.1 projects by standardizing global query filters—like soft deletes or tenant isolation—without manual intervention. It’s a low-risk, MIT-licensed solution that reduces dev time and query inconsistencies, aligning with our modernization roadmap. Since Laravel 5.2+ handles this natively, it’s a short-term fix for legacy systems, saving costs vs. rewriting scopes from scratch."
For Engineering: *"For Laravel 5/5.1, this package provides a clean abstraction for global scopes with two key advantages:
is_active = true) across all queries without repetitive withoutGlobalScopes().How can I help you explore Laravel packages today?