misaf/vendra-api

API services for the vendra-api module

Maintainers

Package info

github.com/misaf/vendra-api

Type:vendra-module

pkg:composer/misaf/vendra-api

Transparency log

Statistics

Installs: 26

Dependents: 9

Suggesters: 0

Stars: 1

Open Issues: 0

v1.8.0 2026-07-30 04:37 UTC

This package is auto-updated.

Last update: 2026-07-31 00:27:42 UTC


README

Shared API Platform infrastructure for Vendra domain API modules.

Features

  • A reusable Eloquent provider with filtering and pagination
  • Transport-only resource references for cross-package relationships
  • Shared API Platform package wiring
  • Domain- and tenant-provider-agnostic foundations

Domain API resources, providers, processors, filters, and operations belong in packages such as vendra-product-api, vendra-blog-api, and vendra-custom-page-api.

Public paths follow /api/{navigation-group}/{model}. The group is the stable slug of the model's Filament cluster (catalog, content, marketing, or sales), while the model segment is the plural kebab-case Eloquent model name. For example, Product is exposed at /api/catalog/products.

Requirements

  • PHP 8.3+
  • Laravel 13
  • API Platform for Laravel 4.3

Installation

composer require misaf/vendra-api

The service provider is auto-registered.

Testing

Run the package checks from the package directory:

composer test
composer analyse

License

MIT. See LICENSE.