Remix.run Logo
crowcroft 7 days ago

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/

endofreach 3 days ago | parent | next [-]

While it's indeed too much boilerplate necessary for good DI, just the first paragraph sounds insane to me: "Tempest features a unique concept called discovery. Tempest will scan your code and find out what to do with it: from controller routes to event handlers, from console commands to dependency initializers; Tempest will detect everything without you having to write a single line of configuration or bootstrap code."

racl101 7 days ago | parent | prev | next [-]

I was about to start looking for a PHP micro framework. I wish Lumen was still supported.

leftnode 7 days ago | parent | next [-]

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...

gregoriol 6 days ago | parent [-]

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.

james2doyle 7 days ago | parent | prev | next [-]

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

crowcroft 7 days ago | parent | prev | next [-]

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.

notrab 7 days ago | parent | prev [-]

Is FuelPHP or CodeIgniter still going? Those were my two favourites back in the day before Laravel came on the scene.

crowcroft 7 days ago | parent [-]

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

notrab 7 days ago | parent [-]

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.

notrab 7 days ago | parent | prev [-]

That looks awesome!