Explore alternatives to Laravel #67
Replies: 7 comments 5 replies
-
I understand taht developer experience is extremely important when working with the code. Given the size of the project and the scope of the effort, I imagine that my day-to-day will be more focused on managing the effort than getting my hands in the code. So I am sensitive to and cognizant of any effort to improve the developer expereince. Where I become concerned is when we have shifted framework already in the last week from Mezzio to something new (Laravel), which was the consensus of people writing code on the project. We're at high risk here of pursuing perfection in the form of the tool, rather than pursuing function in the form of the output. I'd like to see if we can get feedback from someone like @taylorotwell who I will email about how to set up the IDE ideally for a Laravel project. I'll report back. In the meantime, feel free to catalog the ideals that you're looking for, and we'll compare notes on Friday. |
Beta Was this translation helpful? Give feedback.
-
Hi all, As I said on Slack, having this conversation now is better than jumping around and doing the same work three times. Here is my list based on my experience. On a personal note, I have never worked with Mezzio and barely used Symfony. LaravelPros
Cons
SymfonyPros
Cons
Mezzio(From what I read, TBH, I didn't know this framework): Pros
Cons
Now, talking about the specific issue you are seeing, I think this is fixed: barryvdh/laravel-ide-helper#1591 My vote is for Laravel due to the ecosystem around it, the easy learning curve, and the fact that we want (I think) more people to be able to jump in. Symfony and Mezzio put the bar too high, IMO. Rust and Go was just a joke. |
Beta Was this translation helpful? Give feedback.
-
I assure you that the specific issue with laravel-ide-helper I referred to is not fixed, not in the 3.2 release or dev-master. Check out the
Seeing the problem with the |
Beta Was this translation helpful? Give feedback.
-
What about this as a pro/con to each : experience of the current AspireCloud volunteers with each framework? I mean experience counts here and the framework with the deepest level of experience would be the one to go with. Sounds like laravel is that system, yeah? Would it not be true that we can influence the laravel team to try to fix the problems that we find? Esp if we get enough momentum. |
Beta Was this translation helpful? Give feedback.
-
Hey there! If there is something we can do in Laravel itself to address the IDE Helper issues let me know or send a PR anytime! 😊 Are you all mainly using PHP Storm? Are you using their "Laravel Idea" plug-in? You all may also be interested to know we are releasing our own free first-party VS Code extension in November. Demoed here: https://www.youtube.com/watch?v=AwWepVU5uWM&t=485s |
Beta Was this translation helpful? Give feedback.
-
So conclusion to this 24-hour tizzy of mine: I still maintain that without proper IDE tooling, Laravel is difficult to work with safely, to the point of being a complete deal-breaker. The completely free tool (barryvdh/laravel-ide-helper) still has issues with generics in Laravel 11.5+, but there is now readily available IDE tooling that's either free or cheap as chips. So, while I still prefer Symfony's overall declarative approach, I withdraw the motion to change frameworks. Laravel it stays. |
Beta Was this translation helpful? Give feedback.
-
Hello, As this is a first comment hof mine on This project here, it goes with a short intro... Refering to the discussion object, As a Back-End PHP developer who has experience in both Laravel and Symfony, I can just confirm that Laravel is way easier to learn for beginners, while a good point for Symfony is that they do use strict coding standards and coding convensions :) |
Beta Was this translation helpful? Give feedback.
-
The only thing that made Laravel's abuse of magic methods tolerable was
barryvdh/laravel-ide-helper
and it doesn't work for Laravel 11.5 and higher, as it gets confused by the generics and generates nonexistent types like\Illuminate\Database\Eloquent\TValue
. barryvdh/laravel-ide-helper#1572 is closed, but the same issue remains even when using the dev-master version of the helper.We need to consider the pros and cons of our framework options. I'm listing some below, but please respond with your own suggestions, whether it's a new item in the list or a new bullet point for an existing item.
Alternative Frameworks
Laravel
Arguments in favor
Arguments against
Symfony
Arguments in favor
Arguments against
Mezzio
Arguments in favor
Arguments against
Beta Was this translation helpful? Give feedback.
All reactions