Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/augmentedlogic/maven-central-api-php
- Owner: augmentedlogic
- License: mit
- Created: 2023-09-09T14:16:01.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-09T16:32:37.000Z (about 1 year ago)
- Last Synced: 2023-12-16T15:56:38.368Z (11 months ago)
- Topics: client, maven, php, sonatype
- Language: PHP
- Homepage:
- Size: 2.93 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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";
}```