Pages

Sunday, November 19, 2017

Setting up a Packagist PHP library using GitHub / Composer

Today I setup a new packagist entry for WaryWay's trait library. It was much easier then I expected. I have previously setup composer packages locally. This time, it wasn't much different. I build out the composer.json. Set the name. Then went ahead and tagged a semantic version. After I had all this in place and pushed up to GitHub, it was a simple matter to publish on packagist. 

Here are the exact steps:

  1. Follow the documentation on https://packagist.org/packages/submit
  2. Add the integration / services setting in github (See example1).
  3. Once setup with your token, click the 'test' button to let packagist know it is integrated.

Example 1


2 comments:

  1. Emperor Casino - Shootercasino
    Visit our 제왕카지노 website to find the best casinos for 샌즈카지노 you in the industry. Our games range from video slots to roulette, slots and baccarat. fun88 vin

    ReplyDelete
  2. Wynn Las Vegas - Hotel and Casino - JTM Hub
    Book Wynn Las Vegas - Hotel and Casino in Las Vegas, 구미 출장마사지 NV & pay at JTM The Wynn resort 김해 출장샵 offers 1,800 hotel 전라남도 출장안마 rooms and suites, 104,000 평택 출장안마 square 광양 출장마사지 feet of meeting and event

    ReplyDelete