FlowRise HMS API module — RESTful endpoints and Scribe documentation

Maintainers

Package info

github.com/Flowrise-HMS/API

Type:laravel-module

pkg:composer/flowrise-hms/api

Transparency log

Statistics

Installs: 9

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

dev-main 2026-08-05 01:19 UTC

This package is auto-updated.

Last update: 2026-08-05 01:19:52 UTC


README

In one sentence: Optional REST API scaffolding for mobile and third-party clients — Sanctum token authentication plus Scribe documentation tooling.

Current status

In progress. Token login/logout and Scribe docs generation are implemented. Domain REST resource endpoints (patients, drugs, appointments, etc.) are not implemented yet.

See Module Status for the canonical rollout matrix.

What is implemented

  • POST /api/v1/auth/login — email/password → Sanctum personal access token
  • POST /api/v1/auth/logout — revoke current token (auth:sanctum)
  • Scribe documentation tooling (GenerateApiDocs command + module Scribe config)
  • Feature test: Modules/Api/tests/Feature/ApiAuthTest.php

What is deferred

  • Domain REST index/show (or CRUD) endpoints for Patients, Drugs, Dispensing, Services, Appointments, Waitlist, and other operational resources
  • Broader Scribe coverage once those endpoints exist

What happens if this module is disabled

Auth routes registered from Modules/Api/routes/api.php are removed. Billing webhooks, Insurance sync, and FHIR endpoints remain available from their own modules regardless of this module's status.

For FHIR R4 clinical exchange, use the FHIR module (/api/v1/fhir/*), not this module.

Dependencies

  • Modules\Core (declared in module.json)
  • Laravel Sanctum (host app)

For developers

  • Namespace: Modules\Api\...
  • Service provider: Modules\Api\Providers\ApiServiceProvider
  • Routes: Modules/Api/routes/api.php (auth only today)
  • Docs: API Reference