artisanpack-ui/security
Core Laravel security toolkit for ArtisanPack UI: sanitization, escaping (Laminas Escaper), KSES filtering, validation rules, security/CSP middleware, CSP builder with nonce & reporting, rate limiting, audit/scan commands, and testing helpers.
Pulled in automatically by Composer:
artisanpack-ui/core: ^1.0laminas/laminas-escaper: ^2.16 — backs the escape helperslaravel/sanctum: ^4.0 — required for the api.security middleware's token validation flowlivewire/livewire: ^3.6|^4.0 — only required if you want to use the CSP dashboard Livewire component. The service provider skip-registers the component when Livewire isn't installed; the rest of the package works regardless.Any Eloquent-supported driver. The shipped migration uses standard column types — no driver-specific syntax.
The single shipped migration creates the csp_violation_reports table used by the CSP violation reporting endpoint. Disable the route + skip the migration via config if you don't want to receive violation reports.
Any Laravel cache driver. The package's rate limiter and CSP nonce generator use the application's default cache store — no first-class cache config required.
How can I help you explore Laravel packages today?