morphis
v0.6.3
Published
Morphis is a modern, opinionated web framework designed for developers who love the elegant patterns of Laravel but crave the speed of the Bun runtime. It brings a full-stack, "batteries-included" architecture to the TypeScript ecosystem, optimized for bo
Readme
About Morphis
Morphis is a web application framework for Bun with expressive, predictable structure. It is built for backend teams that like the flow of Laravel but want a Bun-first runtime, TypeScript ergonomics, and a source tree that stays easy to reason about as services grow.
Morphis takes the repetitive setup work out of backend development by providing:
- Bun-first execution with a fast HTTP and routing layer
- Laravel-shaped project structure with controllers, services, validators, transformers, and middleware
- Built-in request validation with expressive rules such as
Required,Email,Min,Max,Enum, andBetween - Typed request context backed by
AsyncLocalStorage - Middleware-driven request handling for CORS, logging, tracking, transformation, and database connection resolution
- CLI scaffolding for new apps, servers, models, controllers, services, validators, migrations, and environment files
- OpenAPI and JSON route output for inspection, testing, and documentation workflows
- Drizzle-based model, connection, and transaction tooling for structured database access
Morphis is accessible, fast, and structured for teams that want to ship robust APIs without rebuilding the same application skeleton on every project.
Learning Morphis
Morphis documentation lives at morphis.pages.dev, which serves as both the landing page and the main documentation hub.
Start with these pages:
If you want the shortest path to a running Morphis backend:
bun i morphis -g
morphis new my-backend
cd my-backend
bun install
bun devContributing
Thank you for considering contributing to Morphis. The contribution guide can be found in CONTRIBUTING.md.
Code of Conduct
In order to ensure that the Morphis community is welcoming to all, please review and follow the Code of Conduct.
Security Vulnerabilities
If you discover a security vulnerability within Morphis, please send an e-mail to Kent Ng via [email protected]. Security reports will be handled privately.
License
Morphis is open-source software licensed under the MIT license.
