npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@sindev95/laminajs

v0.0.7

Published

LaminaJS - A type-safe, Laravel-inspired backend framework for Bun + ElysiaJS

Downloads

1,100

Readme

LaminaJS

A type-safe, Laravel-inspired backend framework for Bun + ElysiaJS.

LaminaJS brings the ergonomics of Laravel — Eloquent models, migrations, controllers, service providers, queues, notifications, and more — to the Bun runtime with first-class TypeScript throughout.

Requirements

Create a new project

# Pick any package executor
bunx @sindev95/laminajs new my-app
npx  @sindev95/laminajs new my-app
yarn create @sindev95/laminajs new my-app

cd my-app
bun install
bun run dev

The CLI

The lamina binary is available inside scaffolded apps. Pass --help to see everything.

lamina --help

Scaffolding code

LaminaJS mirrors Laravel's generator flags, so you can spin up a whole resource stack in one command.

# Model + migration + resource controller + factory
lamina make:model Post -a
# same as: lamina make:model Post --all

# Combine any short flags (migration, controller, resource, factory)
lamina make:model Post -mrf

# Resource controller (7 RESTful methods)
lamina make:controller PostController --resource
lamina make:controller PostController -r

# API controller (5 methods, no create/edit) with a model hint
lamina make:controller PostController --api --model=Post

# Standalone generators
lamina make:model Post
lamina make:migration create_posts_table
lamina make:factory Post
lamina make:view home

| make:model flag | Effect | |-------------------|--------| | -m, --migration | also create a migration | | -c, --controller | also create a plain controller | | -r, --resource | also create a resource controller | | -f, --factory | also create a factory | | -a, --all | migration + factory + resource controller | | --api | use an API controller (combine with -c/-r/-a) |

| make:controller flag | Effect | |------------------------|--------| | -r, --resource | full RESTful controller (7 methods) | | --api | API controller (5 methods, no create/edit) | | -m, --model=Name | type-hint the given model |

Database

lamina migrate              # run pending migrations
lamina migrate:rollback     # roll back the last batch
lamina migrate:status       # show migration status
lamina migrate:fresh        # drop all tables and re-migrate

Tinker

An interactive REPL with the booted application in scope.

lamina tinker

Ecosystem

lamina client:generate treaty   # generate an Eden Treaty client from routes
lamina docs:generate            # build a documentation site from markdown
lamina plugins:list             # list official plugins

App scripts

| Script | Description | |--------|-------------| | bun run dev | Dev server with hot reload | | bun start | Production server | | bun run assets:build | Compile frontend assets | | bun run migrate | Run migrations |

Features

  • MVC architecture — controllers, models, and Pop Engine views
  • Eloquent-style ORM — models, relationships, factories, query builder
  • Migrations — versioned schema changes with rollback support
  • Service providers — Laravel-style bootable service containers
  • Routing — type-safe routing on top of ElysiaJS
  • Queues & jobs — Redis-backed queues, workers, and job tracking
  • Notifications — Mail, Database, Broadcast, and Slack channels
  • Caching — pluggable cache stores with a Redis driver
  • Authentication — sessions, tokens (Sanctum-style), and password hashing
  • Security — CSRF, CORS, CSP headers, SQL-injection-safe query builder
  • Ecosystem — Eden Treaty client generator, plugin system, docs generator

License

MIT