DEV Community

Cover image for efri, the_framework
Sebastian Pavel
Sebastian Pavel

Posted on

efri, the_framework

Hey codeholics! πŸ‘‹

I'm a huge fan of Laravel, but let's be real - PHP can be a pain sometimes, right? That's why I built Efri, my take on bringing Laravel's awesomeness to TypeScript.

The framework is coming along nicely - it's built on Bun with lots of TypeScript goodness baked in. I've been running some speed tests against other JS/TS frameworks, and trust me, this thing flies! πŸš€

What's in the Box?

Got all the good stuff you'd expect:

  • Plugin system to extend everything
  • Config management
  • Middleware support
  • Its own logger (because why not?)
  • Gates, validators, models, controllers
  • CLI commands
  • And more goodies!

Here's the thing that always bugged me - writing database code over and over for different DBs. Like, why can't everything be as smooth as Laravel's Eloquent? That's where Knex comes in - write once, run anywhere (with a bit of config magic)!

Want to take it for a spin? Just run:

bunx create-efri@latest
bun dev
Enter fullscreen mode Exit fullscreen mode

Need to see what commands are available? Just hit:

bun efri
Enter fullscreen mode Exit fullscreen mode

Check out the docs at efri.sepavl.com if you want to dive deeper!

Did you encountered any issue? Here is the Github, feel free to drop me an email or contact me on my socials too if needed.

Top comments (0)