Category: PHP, PHP

Private PHP packages can be installed using Composer. We need a little extra configuration in the composer.json file and then we setup our SSH key.

Create an https://barryvanveen.nl/blog/53-ssh-keys-101 on the machine on which you want to install the package.

Now just composer require or composer install the package as usual.

You now know how to install a private composer package.
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