TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Composer Linker: The NPM link for PHP Developers

2 点作者 Einenlum大约 2 个月前

1 comment

takeshiyu大约 2 个月前
Hi HN, I&#x27;m the author of this blog post.<p>As a PHP developer, I’ve always envied how easy it is in the JavaScript world to link local packages using npm link. Composer doesn’t have an official equivalent, and managing local packages in monorepos or across projects can be painful.<p>So I wrote a tool called Composer Linker, inspired by NPM’s linking behavior. It’s a small wrapper around Composer that makes it easy to symlink packages locally while keeping composer.json and composer.lock happy.<p>If you&#x27;re working on Laravel packages, multi-package repositories, or trying to test packages across multiple projects, this might save you some time.<p>I’d love any feedback, ideas, or critiques — especially from devs who’ve built tooling around Composer or package development workflows.<p>Thanks for reading!