symfonyapi-platform-security

MakFly's avatarfrom MakFly

Secure API Platform resources with security expressions, voters, and operation-level access control

⭐26stars🔀4forks📁View on GitHub🕐Updated Dec 30, 2025

When & Why to Use This Skill

This Claude skill streamlines the process of securing Symfony API Platform resources. It assists developers in implementing robust security expressions, custom voters, and operation-level access controls, ensuring that API endpoints are protected with fine-grained authorization logic tailored to specific business requirements.

Use Cases

  • Implementing Role-Based Access Control (RBAC) to restrict API resource access based on user permissions and roles.
  • Developing custom Security Voters for complex authorization logic, such as verifying resource ownership or checking specific attributes before allowing modifications.
  • Applying operation-level security constraints to specific HTTP methods (e.g., GET, POST, PATCH) using security expressions within the API Platform resource configuration.
namesymfony:api-platform-security
descriptionUse when symfony api platform security

symfony:api-platform-security (Micro)

Use when

  • Use when symfony api platform security

Tags

  • api-platform, security

Rules

  • Keep changes minimal and focused
  • Ask before running servers/builds/tests
  • Load reference/examples only on explicit request

References

  • reference.md
  • docs/complexity-tiers.md