edulazaro/wirefence
WireFence is a Laravel/PHP package by edulazaro that provides a lightweight, expressive fence for protecting application boundaries, helping you define and enforce access rules around routes, resources, and components with minimal configuration.
Wirefence adds a lightweight authorization layer to your Livewire components. Instead of scattering $this->authorize() calls across actions and lifecycle hooks, you declare fences once and let the package guard every method call and property update that passes through the component.
Fences support Laravel abilities and policies, role checks, and custom closures, giving you fine-grained control without boilerplate. Unauthorized requests are rejected before they touch your component state, keeping sensitive data and actions safely behind the fence.
How can I help you explore Laravel packages today?