title: integrating neo4j DB with laravel 5
body: <p>I think that some of you might have tried <a href="https://github.com/endyjasmi/neo4j/wiki/" rel="nofollow">this</a> to integrate <code>neo4j</code> with <code>laravel 5</code>. Here is what I did:<br>
  I installed laravel 5 by using this command: 
  <code>composer create-project laravel/laravel laravel5test dev-develop</code>
  It got installed smoothly without any errors. 
  I went through wiki, added <code>"endyjasmi/neo4j": "2.*"</code> to <code>require</code> section in <code>composer.json</code>, ran <code>composer update</code>. And it was installed successfully, then I added 
  <code>'EndyJasmi\Laravel\Neo4jServiceProvider'</code>
  to <code>providers</code> section in <code>app/config/app.php</code>. I didn't add facades because I don't intend to use them. ( I hope that adding facades is optional! )
  Then I went to <code>app/config/database.php</code>, added </p>
  
  <pre><code>/*
      |--------------------------------------------------------------------------
      | Neo4j Databases
      |--------------------------------------------------------------------------
      |
      | Neo4j is an open source graph database which is
      | very fast in traversing related data
      |
      */
  
      'neo4j' =&gt; [
          'default' =&gt; 'development',
  
          'profiles' =&gt; [
              'development' =&gt; [
                  'scheme' =&gt; 'http',
                  'host' =&gt; 'localhost',
                  'port' =&gt; 7474,
                  'username' =&gt; '',
                  'password' =&gt; ''
              ]
          ]
      ]
  </code></pre>
  
  <p>to <code>connections</code> array. Then I gave default as 
  <code>'default' =&gt; 'development'</code></p>
  
  <p>Then I thought of testing all those modifications, so I fired up local php server by using 
  <code>php artisan serve</code><br>
  and this is the error which I got: </p>
  
  <pre><code>exception 'BadMethodCallException' with message 'Call to undefined method [bind]' in /home/ajay/Desktop/laravel5login/vendor/laravel/framework/src/Illuminate/Support/ServiceProvider.php:221
  Stack trace:
  #0 /home/ajay/Desktop/laravel5login/vendor/endyjasmi/neo4j/src/Laravel/Neo4jServiceProvider.php(43): Illuminate\Support\ServiceProvider-&gt;__call('bind', Array)
  #1 /home/ajay/Desktop/laravel5login/vendor/endyjasmi/neo4j/src/Laravel/Neo4jServiceProvider.php(43): EndyJasmi\Laravel\Neo4jServiceProvider-&gt;bind('EndyJasmi\Neo4j...', 'EndyJasmi\Neo4j...')
  #2 /home/ajay/Desktop/laravel5login/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(415): EndyJasmi\Laravel\Neo4jServiceProvider-&gt;register()
  #3 /home/ajay/Desktop/laravel5login/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(536): Illuminate\Foundation\Application-&gt;register(Object(EndyJasmi\Laravel\Neo4jServiceProvider))
  #4 /home/ajay/Desktop/laravel5login/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(518): Illuminate\Foundation\Application-&gt;registerDeferredProvider('EndyJasmi\Larav...', 'EndyJasmi\Neo4j...')
  #5 /home/ajay/Desktop/laravel5login/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(492): Illuminate\Foundation\Application-&gt;loadDeferredProvider('EndyJasmi\Neo4j...')
  #6 /home/ajay/Desktop/laravel5login/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(183): Illuminate\Foundation\Application-&gt;loadDeferredProviders()
  #7 /home/ajay/Desktop/laravel5login/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(89): Illuminate\Foundation\Console\Kernel-&gt;bootstrap()
  #8 /home/ajay/Desktop/laravel5login/artisan(34): Illuminate\Foundation\Console\Kernel-&gt;handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
  #9 {main}
  </code></pre>
  
  <p>Where did I do mistakes? in <code>app.php</code>? or in <code>database.php</code>? Please help me out </p>