Replies: 3 comments 6 replies
-
|
Great ideas! I'll support them for sure :) |
Beta Was this translation helpful? Give feedback.
-
|
Thank you so much for the incredibly thoughtful and encouraging post! It's fantastic to hear from fans of the project, and I really appreciate you taking the time to share your vision. You've touched on many of the core motivations behind Mago. Let me address your ideas and then share the current roadmap. The Grand Vision: Runtime and Package ManagerYou've perfectly captured the "unified do-all" spirit that inspired Mago. While I share that ambition, a new PHP runtime and a Composer replacement are two areas I've decided not to tackle for a few key reasons. On a New PHP RuntimeThis is an incredibly difficult task. The PHP engine is filled with complex behaviors and edge cases that have evolved over decades. My primary concern is compatibility.
Releasing a new engine that isn't fully compatible would do more harm than good to the ecosystem. The time and effort required are simply immense. On a Composer ReplacementThis is another area I don't plan to touch, mainly because Composer is a great tool that works very well.
The Official Roadmap (What's Coming Next)While those areas are off the table, we have very exciting plans that align with your other ideas! Here are the definite, planned features for the future:
Future Possibilities (The Wishlist)These are features I'd love to implement once the core roadmap is further along:
How You Can HelpI'm so glad you're interested in helping! The best way to contribute right now is:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, after a long time, this is a project I am a really huge fan of. I would like to ask about its future and possibly share some ideas of my own.
You've already tried making an LSP, which is great. I think PHP is in a desperate need of a proper LSP and this project could really be it. It would be great if it could implement some of the most used php libraries and frameworks as they use a lot of PHP internal magic which is why LSPs suck currently. Some of these are: Symfony, Laravel, Doctrine, Wordpress, PHPUnit, Pest.
I'm sure we can agree, that Rust brings a lot of safety. And not only memory safety, but also prevents logical mistakes. It's also (in my opinion) the best language to do language parsing. Performance is a great side effect of Rust, and I want to thank you for making performance one of the goals of this project.
Having said that - if we take a look at Javascript side - they have multiple runtimes - bun, node, deno and maybe more that I don't know of. PHP has only had one. I'm not sure how hard would that be to implement, but I think this project could become the second PHP runtime (and it could be faster too).
Composer is a great tool, and it works perfectly. However, I feel that Rust has done a great job of providing all tooling with its toolchain (compiler, package manager, bundler and an LSP in one package). Maybe we could tackle on having a second package manager for PHP too?
What I'm trying to propose is unified do-all PHP solution from which the PHP community would greatly benefit.
Thank you for reading, and let me know what do you think.
And please let me know, what's planned for mago right now and if I could help somehow as I'm greatly interested in this tool.
Beta Was this translation helpful? Give feedback.
All reactions