Permalink
Browse files

Update README.md

[no ci]
  • Loading branch information...
1 parent 0bca3d0 commit 566ac8302c4512177eb24f6be0ea25baa15d46ac @jadell committed May 22, 2012
Showing with 9 additions and 3 deletions.
  1. +9 −3 README.md
View
@@ -13,11 +13,17 @@ API documentation: http://jadell.github.com/neo4jphp
Install
-------
+
+### Using Composer
+1. From the command line `echo '{"require":{"everyman/neo4jphp":"*"}}' > composer.json && composer install`
+1. In your PHP script `require("vendor/autoload.php");`
+
+### Using pre-packaged PHAR
1. Download latest PHAR from http://github.com/downloads/jadell/neo4jphp/neo4jphp.phar
-2. `require("phar://neo4jphp.phar");`
+1. In your PHP script `require("phar://neo4jphp.phar");`
-Connection Test
----------------
+Connection Test With PHAR
+-------------------------
From the command line, execute the following:
> php neo4jphp.phar localhost

0 comments on commit 566ac83

Please sign in to comment.