cybercog/laravel-ban
Laravel Ban simplify blocking and banning Eloquent models. observed · 2026-08-28
Health v2 · maintenance only
66/100
- Activity 70
- Release rhythm 40
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 371
- age_days: 3468
- days_rel: 185
- days_push: 185
- n_releases_24m: 2
Adoption not part of the score
1126 stars · 64 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Laravel Ban is a PHP package that adds banning and blocking capabilities to any Laravel Eloquent model via traits and a BanService. It supports ban history, events, scopes, and middleware to prevent banned users from accessing routes.
Use cases
- ban users in a laravel app
- block eloquent models
- prevent banned users from accessing routes
- keep a history of removed bans
- ban organizations or teams not just users
When to choose
- you use Laravel Eloquent and need ban/block functionality
- you want ban events, scopes, and middleware out of the box
- you need to ban non-user models like teams or organizations
When to avoid
- you are not using Laravel or Eloquent
- you need full-featured access control or role-based permissions rather than simple banning
- you need IP-based or infrastructure-level blocking
Facets
library · maturity stable
auth authorization middleware orm web-development security developer-tools php laravel-package eloquent bannable-models user-blocking traits laravel
2 sources
- readme: https://github.com/cybercog/laravel-ban · fetched 2026-08-28 · e3e391030293
- homepage: https://komarev.com/sources/laravel-ban · fetched 2026-08-29 · c16769b6ea53
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| cybercog/laravel-ban | main | 66 |
For agents
markdown · JSON · MCP: product_card(name="cybercog/laravel-ban")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem