Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/augmentedlogic/maven-central-api-php

PHP client for maven central
https://github.com/augmentedlogic/maven-central-api-php

client maven php sonatype

Last synced: about 15 hours ago
JSON representation

PHP client for maven central

Awesome Lists containing this project

README

        

# maven-central-api-php

PHP client for the maven central REST API

```
searchByGroupId("com.augmentedlogic.simpleslack");
foreach($results as $r) {
print "-- doc --\n";
print $r->getTimestamp()."\n";
print $r->getVersion()."\n";
print $r->getArtifactId()."\n";
print $r->getWebLink()."\n";
}

sleep(1);

$results = $mcc->search("log");
foreach($results as $a) {
print "-- doc --\n";
print $r->getTimestamp()."\n";
print $r->getLatestVersion()."\n";
print $r->getArtifactId()."\n";
print $r->getWebLink()."\n";
}

sleep(1);

$results = $mcc->searchByArtifact("guice");
foreach($results as $r) {
print "-- doc --\n";
print $r->getTimestamp()."\n";
print $r->getLatestVersion()."\n";
print $r->getArtifactId()."\n";
print $r->getWebLink()."\n";
}

```