Category: Laravel, Laravel, PHP, PHP, git, git

Suppose you run a website and want to split part of it into a package with its own repository. But now you want to see how the website and your new package integrate.

This article explains how you can require a package from a local path into your project with Composer.

Now that Composer knows where to look for the local package, it is time to require a specific version.

The resulting output of Composer should look similar to this: Package operations: 5 installs, 0 updates, 0 removals ... - Installing barryvanveen/php-cca (dev-develop): Symlinking from /home/vagrant/Code/php-cca ...
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future. Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future.
Community Partners