cybercog/laravel-ban
Add ban management to any Laravel Eloquent model. Supports multiple bans per model with soft-deleted history, BanService helpers, query scopes, ban/unban events, middleware to block access for banned users, scheduling, and integrations like Nova.
Architecture fit: The package integrates seamlessly with Laravel's Eloquent ORM using traits and contracts, aligning with standard Laravel patterns. It leverages polymorphic relationships for bans and soft deletes for history, fitting naturally within Laravel's ecosystem. The middleware and scheduling features are designed to complement typical Laravel application structures.
Integration feasibility: High for Laravel 8+ projects (per latest releases). Installation is straightforward via Composer, with clear migration and configuration steps. However, compatibility must be validated against the current project's Laravel version (e.g., 4.11.0 supports Laravel 13, but older versions may require pinning to specific package versions). The zero dependents metric raises concerns about real-world validation.
Technical risk: Critical risks include the suspicious "2026-03-01" release date (likely data error), zero dependents indicating minimal production usage, and potential lack of security audits. The package's maintenance history shows sporadic updates (e.g., 4.8.
How can I help you explore Laravel packages today?