ais-api-rest

Automate REST API endpoints and WebSocket events for AIS data in Laravel.

1|Updated Feb 5, 2026
One-click install
npx skills add https://github.com/victorhramos-dev/ais_ai --skill ais-api-rest
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ais-api-rest
Source: https://github.com/victorhramos-dev/ais_ai/tree/main/.claude/skills/ais-api-rest
Command: npx skills add https://github.com/victorhramos-dev/ais_ai --skill ais-api-rest

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a ready-to-use REST API layer and WebSocket messaging for AIS data, enabling developers to expose AIS messages, vessel info, and analysis results with authentication, rate limiting, and real-time updates.

Core Features & Use Cases

  • REST endpoints for messages, vessels, and analyses with pagination and filtering.
  • WebSocket events for real-time AIS updates and broadcasting (e.g., MessageReceived, AnalysisCompleted).
  • Security & operations including Sanctum authentication, rate limiting, and standardized Resources for API responses.
  • Use cases include building dashboards that stream AIS data to clients, exposing AIS data to internal services, or triggering on-demand analyses.

Quick Start

Start implementing AIS REST endpoints and WebSocket events in your Laravel project by following the structure and conventions outlined by this skill.

Frequently Asked Questions about ais-api-rest

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

FAQPage Schema
How do I build a REST API for AIS real-time data in Laravel?

Build an AIS real-time REST API by structuring conventional Laravel routes, controllers, and resources to expose endpoints for messages, vessels, and analyses with pagination and filtering.

How do I broadcast real-time AIS vessel updates over a WebSocket?

Broadcast real-time AIS vessel updates by configuring Laravel Reverb WebSocket events like MessageReceived and AnalysisCompleted to stream live data directly to connected client dashboards.

Do I need Laravel Sanctum to authenticate AIS API endpoints?

Yes, you need Laravel Sanctum to authenticate AIS API endpoints, manage API tokens, and apply rate limiting to secure exposed vessel and analysis routes.

Can I expose AIS data to internal services using a Laravel REST API?

Yes, you can expose AIS data to internal services using a Laravel REST API by creating standardized API resources for messages and analyses, ensuring consistent formatting across service boundaries.

What is the best way to trigger on-demand analyses and stream the results?

Trigger on-demand analyses through REST endpoints and stream results using WebSocket broadcasting events like AnalysisCompleted, enabling real-time delivery of analysis outputs to clients.