RSSAmplifier

Donat Studios · Nov 7, 2013

Load a Github Gist with Composer

0
Sign in to vote or save

This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.

Composer is amazing for pulling in packages, but what if you find a Gist that isn't Composer aware? Fear not, as Composer has the magical ability to pull in repositories not explicitly set up in Packagist by defining them in the "repositories" section. But what if you wanted to load a single class from a git gist? You can add the following repositories section to your composer.json file, adjusting…

Read on donatstudios.com

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.