aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/mozart/src/php_scanner.rs
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-02-21 18:51:54 +0900
committernsfisis <nsfisis@gmail.com>2026-02-21 18:51:54 +0900
commit727b75d20ee54563fe0f1619341fd4cfaf814211 (patch)
treee3abc89a8799acb042b70d8c724df191c22a4fa6 /crates/mozart/src/php_scanner.rs
parent6d22ea76e12cbf0c6e1b873d3350d1bfad2c5442 (diff)
downloadphp-mozart-727b75d20ee54563fe0f1619341fd4cfaf814211.tar.gz
php-mozart-727b75d20ee54563fe0f1619341fd4cfaf814211.tar.zst
php-mozart-727b75d20ee54563fe0f1619341fd4cfaf814211.zip
feat(create-project): implement create-project command to scaffold new projects from packages
Replaces the todo\!() stub with a full implementation that parses the package argument, resolves the best matching version from Packagist, downloads and extracts the dist archive into a target directory, removes VCS metadata, replaces self.version constraints, and runs dependency resolution and installation via the existing resolver and install infrastructure. Includes version constraint matching (caret, tilde, wildcard, comparison operators) and comprehensive unit tests. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'crates/mozart/src/php_scanner.rs')
0 files changed, 0 insertions, 0 deletions