ORM, Auth, Middleware, Queue, Scheduler, Broadcasting, and 41+ modules — all fully type-safe, all in one framework.
Full-Stack Toolkit
A complete backend framework — no glue code, no boilerplate, no compromises.
Fluent query builder, relationships, eager loading, hooks, and soft deletes — powered by Drizzle.
Session auth, JWT, refresh tokens, API tokens, bcrypt/argon2 hashing, 4 session store drivers.
Composable request pipeline with auth, CORS, rate-limiting, CSRF, signatures, and custom middleware.
FormRequest classes with Zod-powered schemas, type-safe DTOs, auto error formatting.
SSE and Pusher/Soketi channels with presence support, private channels, and authorization.
Cron-like task scheduling, job queue with sync, memory, DB, and Redis drivers.
Discover, install, publish, and manage plugins with lifecycle hooks and dependency resolution.
Role-based access control, team management with invitations, and granular permission gates.
Pre-built Svelte 5 components — DataTable, Modal, Tabs, Toast, Icon, and more.
Familiar Patterns
Same elegant API, now with full TypeScript support.
import { Model } from '@beeblock/svelar/orm';
import { users } from '$lib/schema';
export class User extends Model {
table = users;
fillable = ['name', 'email'];
hidden = ['password'];
posts() {
return this.hasMany(Post, 'user_id');
}
}Modular Architecture
Import only what you need. Every module is independently usable.
Official Plugins
Drop-in packages for common features. Each includes server-side logic, UI components, and migrations.
Sorting, searching, pagination, inline editing, export, virtual scroll
@beeblock/svelar-datatableFile attachments with image conversions, collections, S3/local storage
@beeblock/svelar-mediaOAuth providers — Google, GitHub, Facebook, Twitter, Discord, Apple
@beeblock/svelar-social-authTOTP 2FA with QR code setup, recovery codes, zero external deps
@beeblock/svelar-two-factorTyped settings with database persistence, per-user/per-team scoping
@beeblock/svelar-settingsThreaded comments with moderation, reactions, and mentions
@beeblock/svelar-commentsAudit trail with model change tracking and causer resolution
@beeblock/svelar-activity-logDatabase backup with SQLite/Postgres/MySQL, S3/local, cleanup policies
@beeblock/svelar-backupSVG chart components — line, bar, pie, doughnut, area, sparkline
@beeblock/svelar-chartsTagging with HasTags mixin, tag types, slugs, autocomplete UI
@beeblock/svelar-tagsUser impersonation with session guards and banner UI
@beeblock/svelar-impersonateStripe billing with polymorphic Billable mixin, subscriptions, one-time payments, checkout, invoices, webhooks
@beeblock/svelar-stripeXML sitemap generation with scheduling and model discovery
@beeblock/svelar-sitemapDomain-Driven Design
Svelar scaffolds a full DDD modular monolith — controllers, services, repositories, actions, DTOs, events, and observers — all wired together and ready to scale.
Read the architecture guideFull documentation, CLI scaffolding, and a production-ready architecture — all included.