nosial/ncc — reverse-engineered prompt

Reverse engineered prompt

Build me a PHP command line tool called ncc, short for Nosial Code Compiler. I want it to feel like a simpler alternative to Composer for PHP projects, where I can take a project and turn it into a standalone package. The main goal is to let someone compile a PHP app into either an ncc package, a phar archive, or a single PHP file, while still trying to work with existing Composer style packages where that makes sense.

Please make it usable as a real development toolkit, not just a proof of concept. It should have clear commands, sensible error messages, and documentation for how to use it. Add tests for the important parts so it is easy to maintain. If the repo already has a direction, keep the architecture clean and modern and continue that rewrite approach instead of doing something hacky.

If you need details on behavior or command usage, check the documentation file in the repo and look up current PHP docs online if needed.

Want more depth? Deep Reverse