Skip to main content

Developing Composer Packages Locally

When building composer packages, the development workflow may not be immediately apparent. Consuming composer packages in your project can be as easy as adding one line to your composer.json file, but what about a package that is currently under development and not yet available via Packagist?

Luckily, Composer gives you the ability to link the local directory of your in-development package to a project for easy testing.