Quick Tip: Prefer Source Downloads with Composer

Jeremy's Blog

Today, I was having an issue connecting to GitHub’s Code Distribution Servers to download packages using Composer. GitHub repositories are available, so that means we can still get the code by using the –prefer-source option on composer install. Also, since you’re cloning repositories when you prefer source, you also get around the API Rate Limiting problem that I mentioned in my earlier post about using Composer on Pagoda Box.

Let me know how this works out for you and if you have any other tips and tricks for using Composer.

Are you running a business and looking for ways that technology can help you increase your revenue, save you time, save you money, or just generally make you more efficient? Get in touch!

View original post


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s