Neo4j-4-laravel is a simple Neo4j service provider for Laravel 4. It is based on Neo4jPHP
witch is a PHP library wrapping the Neo4j graph database. The goal of Neo4jPHP is to provide you with access to all the functionality
of the Neo4j REST API via PHP. The goal of Neo4j-4-laravel is to ensure you Neo4jPHP easy integration with Laravel 4.
There are two ways to configure neo4j-4-laravel. You can choose the most convenient way for you. You can put your Neo4j credentials into app/config/database.php (option 1) file or use package config file which you can be generated through command line by artisan (option 2).
Option 1: Configure neo4j using app/config/database.php file
Simply add this code at the end of your app/config/database.php file: