Permalink
Browse files

Added composer.json and made composer friendly to submit to packagist

Change-Id: I4085e3d7e4478cdd7253dea12da591cf0a3ac0ef
  • Loading branch information...
1 parent 4cff14d commit 12e028933c6a591cfb39225da453eb9bb1b4f446 @zircote committed Apr 19, 2012
Showing with 21 additions and 0 deletions.
  1. +20 −0 composer.json
  2. +1 −0 scripts/package.php
View
@@ -0,0 +1,20 @@
+{
+ "name": "zircote/Hal",
+ "type": "library",
+ "description": "A PHP implementation of HAL http://stateless.co/hal_specification.html",
+ "keywords": ["Hal", "json", "api", "HATEOAS"],
+ "homepage": "https://github.com/zircote/Hal/",
+ "authors": [
+ {
+ "name" : "Robert Allen",
+ "email": "zircote@gmail.com",
+ "homepage": "http://www.zircote.com"
+ }
+ ],
+ "require": {
+ "php": ">=5.2.4"
+ },
+ "autoload": {
+ "psr-0": {"Hal": "library"}
+ }
+}
View
1 scripts/package.php 100755 → 100644
@@ -91,6 +91,7 @@ function readDirectory($path)
'ignore' => array(
'build/*',
'package.xml',
+ 'composer.json',
'build.xml',
'scripts/*',
'.git',

0 comments on commit 12e0289

Please sign in to comment.