nette/security
Nette Security provides authentication and authorization for PHP apps, with ready-to-use user identity, login/logout handling, roles and permissions, and easy integration with Nette Framework services for secure access control.
persistIdentity flag (v3.2.4) enables granular control over post-logout data retention, critical for privacy-focused applications.#[\SensitiveParameter]).nette/utils vs. Laravel’s illuminate/support).For Executives: "This package lets us deploy role-based access control in weeks instead of months, cutting dev costs while locking down security. The latest update fixes a critical session bug—expired sessions now stay expired, reducing compliance risks. It’s a low-risk, high-reward choice for projects needing admin dashboards, multi-tenancy, or regulated data access."
For Engineering:
"v3.2.4 adds guest identity support (e.g., anonymous users with roles) and tightens session security, but it’s still not a drop-in for Laravel. If we’re okay with minor dependency tweaks, it’s a solid RBAC solution. Tradeoffs: No native Laravel middleware, but the tradeoff is worth it for audit-ready session handling. Pro tip: Use it alongside Laravel’s auth() helper for hybrid setups."
For Security Teams:
"The persistIdentity flag (v3.2.4) gives us granular control over post-logout data retention, critical for GDPR. PHPStan integration ensures we catch sensitive parameter leaks early. Warning: This isn’t a replacement for Laravel’s auth—it’s a complement for RBAC/ACL needs."
How can I help you explore Laravel packages today?