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

topvillas's avatar

Illuminate vs Laravel

Here's an interesting question ...

Has anyone here developed (or thought about developing) an app using Illuminate components in a stand-alone way rather than wrapped in a Laravel app?

0 likes
5 replies
martinbean's avatar

@topvillas Not really sure what benefit that would have? The framework’s built modularly, but then why take the components and re-write all the “glue” again yourself?

topvillas's avatar

I'm not all that sure either, it's just something I'm throwing in the air!

But suppose somebody wanted to completely separate the domain, service, infrastructure and presentation layers? It might be the way to go. Gluing everything together again in a way that's appropriate for an app in a much more specific way.

tykus's avatar

Yes, Illuminate packages are like any other vendor packages.

topvillas's avatar

Yes, you've thought about it or yes, you've done it?

jlrdw's avatar

Ive used database, but from what I've seen, if you start needing too many Illuminate things, like pagination also, and others, you get to a point where you have 95% of laravel anyway. So may as well just use laravel.

When I used db, it was for query builder, but I used skip take and used a different paginator.

Please or to participate in this conversation.