[{"data":1,"prerenderedAt":72},["ShallowReactive",2],{"post:load-composer-packages-from-vcs-repo":3},{"id":4,"title":5,"body":6,"date":59,"description":60,"draft":61,"extension":62,"meta":63,"navigation":64,"path":65,"seo":66,"stem":67,"tags":68,"__hash__":71},"posts\u002Fposts\u002Fload-composer-packages-from-vcs-repo.md","TIL: How To Load Composer Packages from a VCS Repo",{"type":7,"value":8,"toc":56},"minimark",[9,27,35,46],[10,11,12,13,20,21,26],"p",{},"So, I'm building a Formstack API extension for the marvelous ",[14,15,19],"a",{"href":16,"rel":17},"https:\u002F\u002Fbolt.cm\u002F",[18],"nofollow","Bolt CMS",", and I decided to use Josh Gulledge's ",[14,22,25],{"href":23,"rel":24},"https:\u002F\u002Fgithub.com\u002Fjgulledge19\u002FFormStackAPI",[18],"'FormStackAPI` PHP integration",".",[10,28,29,30,34],{},"The thing with Bolt CMS is that it uses its own (Satis) package repository for Composer, and it disables the use of the standard packagist.org repos. This means packages must be loaded from the Bolt marketplace, or else manually via a ",[31,32,33],"code",{},"repositories"," entry.",[10,36,37,38,41,42,45],{},"So I have the choice to either include the package source in my repo, or link to it via a special ",[31,39,40],{},"vcs"," repository setting in ",[31,43,44],{},"composer.json",". I chose the latter.",[47,48,53],"pre",{"className":49,"code":51,"language":52},[50],"language-text","\"repositories\": {\n  \"fstackapi_php-git-repo\": {\n    \"type\":\"vcs\",\n    \"url\":\"https:\u002F\u002Fgithub.com\u002Fjgulledge19\u002FFormStackAPI\"\n  }\n}\n","text",[31,54,51],{"__ignoreMap":55},"",{"title":55,"searchDepth":57,"depth":57,"links":58},2,[],"2018-08-26T00:05:59-04:00","So, I'm building a Formstack API extension for the marvelous Bolt CMS, and I decided to use Josh Gulledge's 'FormStackAPI` PHP integration.",false,"md",{},true,"\u002Fposts\u002Fload-composer-packages-from-vcs-repo",{"title":5,"description":60},"posts\u002Fload-composer-packages-from-vcs-repo",[69,70],"php","til","Mpf1rx11_M_TZElc8xtxKhyXjQsnrvcBNth2h1-7lUc",1790471528090]