survos/inspection-bundle

This package is abandoned and no longer maintained. The author suggests using the survos/field-bundle package instead.

Inspects Doctrine entities with APIPlatform attributes

Maintainers

👁 tacman1123

Package info

github.com/survos/inspection-bundle

Type:symfony-bundle

pkg:composer/survos/inspection-bundle

Fund package maintenance!

kbond

Statistics

Installs: 6 571

Dependents: 1

Suggesters: 0

Stars: 2

Open Issues: 0

2.7.6 2026-05-29 11:05 UTC

Suggests

Provides

None

Conflicts

None

Replaces

None

MIT 05167c02e03a4e1ff2f909bb509f254b9c9bf34e

  • Tac Tacelosky <tacman.woop@gmail.com>

This package is auto-updated.

Last update: 2026-06-03 00:56:52 UTC


README

Inspection helpers for API Platform resources:

  • discover collection routes (api_route)
  • derive searchable and sortable fields (searchable_fields, sortable_fields)
  • build default column metadata (api_columns)

Install

composer require survos/inspection-bundle

Routes

This bundle no longer ships a Symfony installer recipe. Import routes manually when needed:

# config/routes/survos_inspection.yaml
survos_inspection:
 resource: '@SurvosInspectionBundle/config/routes.yaml'
 prefix: '/inspection'

Twig Helpers

{% set class = 'App\\Entity\\Asset' %}

{{ api_route(class) }}
{{ searchable_fields(class)|join(', ') }}
{{ sortable_fields(class)|join(', ') }}