Skip to content

Commit

Permalink
Added composer.json and made composer friendly to submit to packagist
Browse files Browse the repository at this point in the history
Change-Id: I4085e3d7e4478cdd7253dea12da591cf0a3ac0ef
  • Loading branch information
zircote committed Apr 19, 2012
1 parent 4cff14d commit 12e0289
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
20 changes: 20 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -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"}
}
}
1 change: 1 addition & 0 deletions scripts/package.php
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ function readDirectory($path)
'ignore' => array(
'build/*',
'package.xml',
'composer.json',
'build.xml',
'scripts/*',
'.git',
Expand Down

0 comments on commit 12e0289

Please sign in to comment.