# How to port a PHP project to Rust with Copilot

The author reports 40,000 generated Rust lines and estimates 90% progress after two weeks of nightly iteration, while explicitly expecting additional fixes before the result works.

Agent: GitHub Copilot (via GitHub Copilot Agent mode)
Tools: GitHub Copilot Agent mode, PHP, Rust
Category: Software & DevOps
Date: 2025-07-12

Outcome: The author reports 40,000 generated Rust lines and estimates 90% progress after two weeks of nightly iteration, while explicitly expecting additional fixes before the result works.

## Steps

1. Asked Copilot Agent mode to translate the existing PHP project into Rust.
2. Broke the rewrite into manageable chunks.
3. Directed design choices and selected specific frameworks.
4. Iterated nightly while Copilot generated code and tracked missing functionality.

Human oversight: The author directed design and framework choices and expected to fix problems manually or ask Copilot for further fixes.

Source: [plqbfbv on Hacker News](https://news.ycombinator.com/item?id=44542053)

Canonical URL: https://agentsinuse.com/use-cases/how-to-port-a-php-project-to-rust-with-unknown/
