Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

RomainLanz's avatar

Laravel for the NodeJS world

Hey everyone!

I have just discovered the framework AdonisJS.

What is it awesome with it ? It's a Laravel port to the NodeJS world!

Hope that you will enjoy to test it and develop with it.

0 likes
10 replies
beerbuddha's avatar

The documentation even resemble Laravel's documentation.

Have you done any work with it yet. Can you give us your review as to what kind of high level Laravel equivalent syntax that AdonisJS offers in comparison to ExpressJS (which is currently the popular framework of node.js)

RomainLanz's avatar

Have you done any work with it yet I discovered it today, so no.

I will try it before the end of the week and give some feedbacks here.
There's some ScreenCasts available.

Laravel equivalent syntax that AdonisJS offers in comparison to ExpressJS

Just for the ES2015 feature/syntax it's worth to switch in my opinion.

niallobrien's avatar

Adonis v2.0 is just around the corner and I gotta say, this framework's made some great progress. There's still certainly room for it to grow but I strongly encourage you to give it a shot. Yes, it's very similar to Laravel, but that's a good thing. Laravel ditched the typical Rails MVC structure for a good reason and so it makes sense for others to learn from the same mistakes. Full-stack frameworks in node.js-land are a little lacking; Sails.js development has seriously slowed down (no sign of v0.12), Trails.js won't hit v1 until April 2016 or so and most other frameworks cater to backend API development only (Strapi.io, MEAN.io etc.)

IsaacBen's avatar

The only thing I would touch in the Node.js world is Meteor. The rest is too much work and hassle.

IsaacBen's avatar

@JoeDawson They are not the first to copy from @TaylorOtwell. There is also a Mysql package in Node.js called Knex.js they basically copied one by one Laravel's syntax haha. They admit it though and said thanks to Taylor for inspiring them.

Bottom line - People talk bad on PHP and then they try to copy it. This just shows us how ugly the callback world is, you look at the code and can't figure out what is going on. This is what happens when people follow trends instead of reason.

oceanwap's avatar
  1. Coping @TylorOtwell is nowhere related to loving PHP, It is more related to loving Philosophy and coding style.

  2. Thinking that way, "People talk bad on PHP and then they try to copy it" is really sad. Nodejs is very scalable and only thing I don't like till date is it's javascript syntax which ES6 and next versions will improve. Eventually Javascript is new future. Completion will be always there between languages and tools and that is for good of developer community, that will keep languages improve from each other.

  3. We should welcome new languages also Golang and Zephire. Even if they die in this language war they will inspire the world how to be fastest.

andy's avatar

Anybody build something with adonis yet?

Please or to participate in this conversation.