Skip to content

b4cedev/Composer-Java-Bindings

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Composer Java Bindings

A Java API for the PHP dependency manager Composer and it's main repository packagist.org.

See the tests for usage details.

An example implementation can be found in the Eclipse Composer Plugin

Build Status

Maven Usage

	<dependencies>
		<dependency>
			<groupId>com.dubture</groupId>
			<artifactId>composer-java-api</artifactId>
			<version>0.0.3</version>
		</dependency>
	</dependencies>

Contributors

API Notes

Naming Conventions

Resource

A file containing a package or a repository.

Repository

Contains multiple packages.

Repositories

Package

Contains a single package may have different versions.

Packages

Entity

Every objects or key value pairs as long as they can be grouped in a collection (see below).

Examples
"require": {
	"php": ">=5.3.0",
	"monolog/monolog": "1.0"
}

Each require entry is an entity (key-value pair).

"auhtors": [
	{
		"name": "gossi"
	}, 
	{
		"name": "Robert Gründler"
	}
]

Each entry in the authors is an entity.

Collections

Entities of the same type under the same parent.

Properties

Single key value pairs, that aren't entities.

Examples
{
	"name": "gossi/ldap"
}

The name property

About

Java Bindings for Composer and packagist.org

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 93.9%
  • Perl 5.4%
  • CSS 0.7%