{"repo":"spatie/packagist-api","free":true,"listed":false,"github":"https://github.com/spatie/packagist-api","clone":"git clone https://github.com/spatie/packagist-api.git","description":"The easiest way to work with the packagist API","language":"PHP","stars":132,"topics":["php","packagist","api"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Fetch package info from Packagist This package makes it easy to search and fetch package info using the Packagist API. Support us We invest a lot of resources into creating best in class open source packages. You can support us by buying one of our paid products. We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on our contact page. We publish all received postcards on our virtual postcard wall. Installation You can install the package via composer: There is also a Laravel wrapper available for this package. Usage You must pass a Guzzle client and a url generator to the constructor of Spatie\\Packagist\\PackagistClient . List package names List popular packages Pagination Listing popular packages returns a paginated result. You can change the pagination settings by adding more parameters. Searching for packages Pagination Searching for packages returns a paginated result. You can change the pagination settings by adding more parameters. Getting package data. Get package download stats Get Statistics Get security vulnerability advisories Changelog Please see CHANGELOG for more information what has changed recently. Testing Contributing Please see CONTRIBUTING for details. Security If you've found a bug regarding security please mail security@spatie.be instead of using the issue tracker. Credits - Freek Van der Herten - Jolita Grazyte - Mark Walet - All Contributors About Spatie Spatie is a","default_branch":null,"files":null,"tree":[],"storefront":"/r/spatie","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/spatie/packagist-api/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}