Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Filament Api Forge Laravel Package

yusufgenc/filament-api-forge

Expose Filament Resources as REST APIs automatically—no Sanctum. Hash-based API keys with scopes, per-resource access control, rate limiting, IP restrictions, Spatie Query Builder filtering/sorting, and auto-generated OpenAPI + public Swagger docs.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Accelerate API Development: Eliminates manual API route creation for Filament Resources, reducing backend dev time by ~30-50% for CRUD-heavy applications. Ideal for MVP launches or rapid prototyping where admin UIs (Filament) and APIs must ship in parallel.
  • Unified Admin/API Surface: Enables a single codebase for both internal admin dashboards (Filament) and external APIs, reducing technical debt and syncing feature parity between UI and API surfaces.
  • Build vs. Buy: Justifies not building a custom API layer for Filament Resources, especially for teams with limited backend bandwidth or tight deadlines. Avoids reinventing authentication, rate limiting, or OpenAPI docs.
  • Use Cases:
    • Headless CMS: Expose Filament-managed content (e.g., blog posts, products) to frontend apps or third-party services.
    • Internal Tools: Grant API access to non-dev teams (e.g., marketing, support) for self-service data extraction.
    • Partnerships: Enable partners to interact with your admin data via controlled APIs (e.g., affiliate dashboards).
    • Legacy Migration: Modernize old PHP/Laravel apps by retrofitting APIs to existing Filament Resources without rewrites.

When to Consider This Package

  • Adopt When:

    • Your team uses Filament 5.x and needs APIs for Resources without Sanctum/Laravel’s built-in API tools.
    • You prioritize speed over customization (e.g., hash-based auth is sufficient for your security needs).
    • Your API requirements are standard CRUD with minimal business logic (complex queries may need custom routes).
    • You lack dedicated backend resources to build/maintain a separate API layer.
    • Your use case involves internal tools or low-risk external APIs (not high-sensitivity data like payments).
  • Look Elsewhere If:

    • You need OAuth2/JWT or advanced auth (e.g., SSO, multi-tenancy). This package uses simple hash tokens.
    • Your APIs require graphQL or WebSockets (this is REST-only).
    • You need fine-grained field-level permissions (access control is per-resource, not per-field).
    • Your team has high scalability needs (rate limiting is basic; no distributed caching support).
    • You’re using Filament 2.x/3.x or a non-Laravel backend.
    • Your API must integrate with third-party identity providers (e.g., Auth0, Firebase).

How to Pitch It (Stakeholders)

For Executives: "This package lets us ship APIs instantly for any Filament admin panel—no extra dev work. For example, if our marketing team needs to pull product data for a new portal, we can expose it as an API in hours instead of weeks. It’s like giving them a self-service data tap. The security model is simple but sufficient for internal tools or low-risk external use, and the built-in OpenAPI docs reduce onboarding time for consumers. Upfront cost: zero. Risk: minimal, since it’s MIT-licensed and tightly integrated with Filament."

For Engineering: *"Filament API Forge automates 90% of the boilerplate for REST APIs tied to Filament Resources. Key wins:

  • Zero route config: Just add HasApi to your Resource, and boom—API endpoints.
  • Batteries included: Auth (hash tokens), rate limiting, IP whitelisting, and Swagger docs out of the box.
  • Dev experience: Interactive API docs in Filament’s admin panel, plus public docs for consumers.
  • Maintenance: One less system to monitor (no Sanctum or custom middleware to debug). Tradeoff: It’s not a full-fledged API platform (e.g., no GraphQL, limited customization), but for CRUD-heavy apps, it’s a 10x productivity boost. Ideal for MVPs, internal tools, or when you’d otherwise spend weeks building basic API routes."*
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
andydefer/laravel-notification
adachsoft/cli-process-tester
jhaskell13/laraflow
sebastienheyd/boilerplate-media-manager
ccast/tagixo-primix
pretendtrue/laravel-builder
sawmainek/laravel-scout-tntsearch-driver
tomshaw/laravel-calendar-table
dibakar/laravel-ownership
steadrun/laravel-monitor
labyrinthe/connect-laravel
elmogy/layan
drewdan/sentinel-client
dskripchenko/laravel-llm
fatryst/nuonuo
stevenay/myanfont
gmostafa/php-graphql-client
xeviant/paystack
snowsoft/faker
meditationsteps/blogetc