moonrepo / moon

A build system and monorepo management tool for the web ecosystem, written in Rust.
https://moonrepo.dev/moon
MIT License
2.91k stars 157 forks source link

[feature] PHP tier 2 #1197

Open andrejbaran opened 11 months ago

andrejbaran commented 11 months ago

Is your feature request related to a problem? Please describe.

Hey 👋

I was wondering what are the plans for tier 2 integration of PHP/Composer. Is it something you guys would accept as PR?

Describe the solution you'd like

I would love to use moon for PHP projects

Describe alternatives you've considered

There are only a handful of attempts and all are PHP specific

Additional context

milesj commented 11 months ago

@andrejbaran We're pausing new language work for the time being until we move to a new WASM plugin based approach. Having all the languages in the core Rust codebase has become a bit of a maintenance burden. We're aiming for moon v2 for the plugin system.

With that said, there are a few things:

andrejbaran commented 11 months ago

Yup, that extra is what I was aiming for :)

I kind of sensed that direction from somewhere in the codebase (maybe the 1.17 PR, not sure right now). Anyway, sounds great so I will try to find the time, checkout available plugins and go for it.

Thanks!

milesj commented 11 months ago

If you plan on creating a WASM plugin, feel free to join in Discord and we can discuss!

PHP is a bit unique compared to the others, as you'll have to toggle extra features during build like mysql/etc. We'll need to figure out how to best handle that.

andrejbaran commented 11 months ago

If you plan on creating a WASM plugin, feel free to join in Discord and we can discuss!

👍 will do

PHP is a bit unique compared to the others, as you'll have to toggle extra features during build like mysql/etc. We'll need to figure out how to best handle that.

Unfortunately, it is. I thought proto wasn't ready for building yet as mentioned in the roadmap but let's discuss in Discord