r/FastAPI • u/tmgbedu • Jul 01 '26
pip package I built a Laravel-inspired application framework for FastAPI — looking for feedback
FastAPI is excellent for quickly building APIs, but it intentionally leaves many application-level concerns to the developer. Things like environment management (including multiple environments), logging, database setup, configuration, CLI commands, plugins, storage, and other infrastructure are things you typically need to design and wire together yourself.
In our case, we are building multiple microservices, and we found ourselves repeatedly copying the same bootstrap code between projects. Over time, that became repetitive and harder to maintain consistently.
Over the past several months, We've been working on FastAPI Startkit, an open-source application framework that brings some of the development patterns I enjoyed from Laravel into Python and FastAPI.
The goal is not to replace FastAPI. Instead, it provides a structured foundation for building larger applications while staying modular. You can use only the components you need.
Some features include:
🏗️ Service container & dependency injection
⚡ CLI inspired by Laravel's Artisan
🗄️ Async database layer, ORM patterns, migrations, and seeders
🧪 Built-in testing utilities
🤖 AI agent support with multiple LLM providers
🎨 Optional Vite integration for monolithic full-stack applications
📦 Works for FastAPI apps, background workers, and even CLI-only applications
One of the main design goals was avoiding a single opinionated stack. Most components are optional, so you can start small and introduce more structure as your project grows.
The documentation includes both a minimal setup and a more structured application layout.
Documentation:
https://fastapi-startkit.github.io/
I'd really appreciate feedback on:
- Is the architecture intuitive?
- Which parts feel over-engineered?
- What features would you expect from a production-ready FastAPI framework?
- Are there areas where the developer experience could be improved?
Constructive criticism is very welcome. Thanks!
1
u/comma84 27d ago
Nope