←back to thread

75 points notrab | 10 comments | | HN request time: 0.432s | source | bottom

Hey HN, I last PHP professionally over 15 years ago, and I loved it. I switched to Ruby on Rails, then Node/Go/React/GraphQL as there was a lot more demand for those roles. However, PHP is back!

In true JavaScript fashion, I decided to learn PHP again by building a framework to put all the pieces together in my brain.

I absolutely love Hono.dev, and decided to base the PHP framework on that. Dumbo isn't intended to compete with Laravel, Symphony or Slim, if anything, it's something people can use in production, but also contribute to and be used as a learning resource for others.

1. crowcroft ◴[] No.42173257[source]
I don't see myself ever using anything other than Laravel, but love these kinds of projects just to see what new ideas they might spark for the wider PHP community. Also interested in https://tempestphp.com/
replies(2): >>42173748 #>>42174144 #
2. notrab ◴[] No.42173748[source]
That looks awesome!
3. racl101 ◴[] No.42174144[source]
I was about to start looking for a PHP micro framework. I wish Lumen was still supported.
replies(4): >>42174230 #>>42174525 #>>42174721 #>>42175016 #
4. notrab ◴[] No.42174230[source]
Is FuelPHP or CodeIgniter still going? Those were my two favourites back in the day before Laravel came on the scene.
replies(1): >>42174678 #
5. leftnode ◴[] No.42174525[source]
Symfony 7.2 can work as a micro framework, believe it or not: https://symfony.com/blog/new-in-symfony-7-2-simpler-single-f...
replies(1): >>42182255 #
6. crowcroft ◴[] No.42174678{3}[source]
I don't think Fuel is at all, and CodeIgniter is... but not really?

IMO Laravel is kind of the spiritual successor to CodeIgniter, although of course a lot has changed between V1 and V11

replies(1): >>42174719 #
7. notrab ◴[] No.42174719{4}[source]
True true. I went back and forth so much in the early days of CodeIgniter, Rails, Fuel and Cake.

Eventually discovered just building stuff was going to bring me the most joy, no matter the tool. It's been a joy learning PHP again though, even if I do suck at it right now.

8. crowcroft ◴[] No.42174721[source]
When you say micro framework, what are you looking for? If you're just looking for a routing library then something like Symfony Flex might be what you want.

I find when I start a project I pretty quickly want to add an ORM, models, and maybe some middleware, and then I'm at a point where I might as well just use Laravel because it's fast enough and I know my way around.

9. james2doyle ◴[] No.42175016[source]
Can't go wrong with Slim: https://www.slimframework.com/

But if you're looking for something more modern and interesting, then Hyperf looks pretty cool. They have a mini-framework version you can check out: https://github.com/hyperf/nano

It does require Swoole, but that is a lot easier to get your hands on these days

10. gregoriol ◴[] No.42182255{3}[source]
They say it "can" but it is not first class in their docs or minds, so it's mostly up to you to figure out how to do most of things then. It would be better to have an independent micro framework with a clear scope of what it can and cannot do compared to the full Symfony stack.