News for hackers. Stuff that matters.
Re:PHP in 2023 by ceejayoz on Tuesday January 17, 2023 @11:36AM (#34414663)
> Symfony is a great piece of software. So is Laravel.

And to be clear, Laravel is a piece of Symfony software, and a good example of what you can do with Symfony packages and a bit of opinion.

There are 13 Symfony dependencies in https://github.com/laravel/framework/blob/9.x/composer.json alone, and many of the Laravel packages listed in there also depend on them; the Laravel Request class extends Symfony\Component\HttpFoundation\Request, the Response class extends Symfony\Component\HttpFoundation\Response, etc.

Re:PHP in 2023 by francislavoie on Tuesday January 17, 2023 @12:27PM (#34415478)
It's a lot more than "a bit of opinion". It's a huge framework with tons of unique and original features. You're being very reductive. Yes it does use Symfony components for some core functionality, but that's just a small part of what Laravel offers.
Re:PHP in 2023 by ceejayoz on Tuesday January 17, 2023 @12:34PM (#34415577)
I think we largely agree; I just think "Laravel or Symfony" is somewhat a false dilemma because of this. You can build your own system on Symfony libraries... or you can use Laravel's system that's heavily built on Symfony libraries, with a lot of the plumbing done for you.
Re:PHP in 2023 by pocketsand on Tuesday January 17, 2023 @02:01PM (#34417051)
Technology companies routinely use/license technology from other companies in their products. If, for example, Apple relies upon Samsung for displays and memory in their laptops, it does not follow that you're actually buying a Samsung laptop.

In any event, Laravel has never been shy about its debt to Symfony.