2017 © Pedro Peláez
 

library laravel-neo4j-starter

This is starter package for laravel that uses the neo4j database.

image

pdaleramirez/laravel-neo4j-starter

This is starter package for laravel that uses the neo4j database.

  • Saturday, October 7, 2017
  • by pdaleramirez
  • Repository
  • 2 Watchers
  • 0 Stars
  • 116 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 5 Versions
  • 10 % Grown

The README.md

LaravelNeo4jStarter

This is a starter package for laravel that uses the neo4j database. Authentication, Registration and Password Resets are also implemented on this package., (*1)

Quick Reference

Installation

Add the package to your composer.json and run composer update., (*2)

Laravel 5

5.3 - 5.4

{
    "require": {
        "pdaleramirez/laravel-neo4j-starter": "dev-master"
    }
}

Add the service provider in app/config/app.php:, (*3)

pdaleramirez\LaravelNeo4jStarter\Providers\Neo4jServiceProvider::class,

The service provider will register all the required classes for Laravel Neo4j Starter package., (*4)

Add the required facades in app/config/app.php:, (*5)

'Neo4jQuery'      => pdaleramirez\LaravelNeo4jStarter\Facades\Neo4jQueryFacade::class

Configuration

Connection

Open environment-based configuration '.env' file then define your configuration., (*6)

NEO4J_HOST=localhost
NEO4J_PORT=7474
NEO4J_USERNAME=neo4j
NEO4J_PASSWORD=neo4j

On your application root open config/auth.php and change the providers values with the one below., (*7)

    'providers' => [
        'users' => [
            'driver' => 'neo4jauth',
            'model' => pdaleramirez\LaravelNeo4jStarter\Models\User::class,
        ],
    ],

Password Resets

Open your app/Http/Controllers/Auth/ForgotPasswordController.php and app/Http/Controllers/Auth/RegisterController.php file and this method to the class., (*8)

public function broker()
{
    return \App::make('auth.password.neo4j');
}

The Versions

07/10 2017

dev-master

9999999-dev

This is starter package for laravel that uses the neo4j database.

  Sources   Download

MIT

The Requires

 

07/10 2017

1.0.3

1.0.3.0

This is starter package for laravel that uses the neo4j database.

  Sources   Download

MIT

The Requires

 

25/09 2017

1.0.2

1.0.2.0

This is starter package for laravel that uses the neo4j database.

  Sources   Download

MIT

The Requires

 

04/09 2017

1.0.1

1.0.1.0

This is starter package for laravel that uses the neo4j database.

  Sources   Download

MIT

The Requires

 

24/04 2017

1.0.0

1.0.0.0

This is starter package for laravel that uses the neo4j database.

  Sources   Download

MIT

The Requires