vantage/authorized-attributes
A Laravel package for attribute-level authorization: control which model attributes users can view or update using policies and PHP attributes, keeping sensitive fields protected across requests and resources.
vantage/authorized-attributes adds attribute-level authorization to Laravel Eloquent models. Rather than exposing every column or accepting any fillable field, you declare which attributes a user may read or write, and the package filters the rest automatically—keeping sensitive data out of serializers, forms, and mass assignment.
Rules use familiar policies and gates, resolved through a simple helper that returns only the authorized attributes for the current user. It integrates cleanly with existing models, tightening access control without rewriting resources or controllers.
How can I help you explore Laravel packages today?