I stumbled across article today about Rust in JavaScript ecosystem: https://leerob.com/rust
Many projects are migrating to Rust, because with AI help it's very, very easy.
And I wanted to share some of the projects I'm doing recently in the same movement.
Fully functional PHP parser written in Rust: https://jorgsowa.github.io/rust-php-parser/
I built it to be able to build other projects in Rust for PHP. Currently I'm using it in my formatter, and projects I share below.
Almost completed Language Server in Rust for PHP: https://github.com/jorgsowa/php-lsp
My goal is to ease my work with PHP using Claude. If any knows better tips than using LSP I would also be glad for hints.
I want also share another amazing LS for PHP in Rust. It's not my work but it's exciting to have a lot of different options for PHP ecosystem https://github.com/AJenbo/phpantom_lsp
Static analyzer in Rust for PHP: https://jorgsowa.github.io/mir/playground/
I love and adore Psalm, and I tried to contribute to the project, but unfortunately it wasn't very feasible in terms of activity of maintainers (and it's understandable, we only have 24h per day). So I rebuilt it in Rust, and I want to implement features I always have dreamt about having in Psalm. So I'm building SA tool, currently enriching the LSP, but it can be used as standalone tool as well. I have few interesting ideas I want to incorporate.
I also have few other tools in Rust that I cannot share, because they are tightened to my other projects, but for sure I will publish few of them soon.
Do you know any other tools for PHP written in Rust? I'm also keen to contribute to them if they have some vision for future AI coding, because I already see some limitations for LS and static code analyzers.