api-platform:make-filter

Generate API Platform filters for Doctrine ORM resources.

Updated Feb 24, 2026
One-click install
npx skills add https://github.com/atournayre/claude-personas --skill api-platform-make-filter
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: api-platform:make-filter
Source: https://github.com/atournayre/claude-personas/tree/main/api-platform/skills/make-filter
Command: npx skills add https://github.com/atournayre/claude-personas --skill api-platform-make-filter

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the generation of filters for API Platform resources, simplifying the process of adding search, sorting, and filtering capabilities to your API.

Core Features & Use Cases

  • Doctrine ORM Filters: Automatically generates configurations for built-in Doctrine filters like SearchFilter, OrderFilter, DateFilter, RangeFilter, BooleanFilter, and ExistsFilter.
  • Custom Filters: Provides a template for creating custom filter logic when built-in options are insufficient.
  • Use Case: Quickly add advanced filtering to your Product entity, allowing users to search by name, filter by price range, and sort by creation date, all without manual configuration.

Quick Start

Use the api-platform:make-filter skill to add search and order filters to the 'User' resource.

Frequently Asked Questions about api-platform:make-filter

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add search and order filters to API Platform entities?

This Skill generates API Platform filters by automatically creating configurations for built-in Doctrine ORM filters like SearchFilter and OrderFilter without manual setup.

What types of filters can I generate for Doctrine ORM resources?

You can generate SearchFilter, OrderFilter, DateFilter, RangeFilter, BooleanFilter, and ExistsFilter for Doctrine ORM resources, plus templates for creating custom filter classes.

Can I create custom filter logic when built-in API Platform filters are insufficient?

Yes, you can create custom filter logic because this Skill provides a template for building custom filter classes when the built-in Doctrine ORM filter options do not meet your needs.

Do I need to understand Doctrine ORM to use API Platform filters?

Yes, using this Skill requires an understanding of API Platform metadata and Doctrine ORM to properly generate and apply filters to your REST API resources.

What is the best way to filter API Platform resources by price range and creation date?

The best way to filter resources is by generating RangeFilter for price and DateFilter for creation date, allowing users to filter and sort API queries automatically.