tsf/laravel-neo4j-php-client
最新稳定版本:1.0.2
Composer 安装命令:
composer require tsf/laravel-neo4j-php-client
包简介
Laravel wrapper for Neo4j-PHP-Client
README 文档
README
Simple laravel wrapper for GraphAware Neo4j PHP Client
Installation
Require this package in your composer.json and update composer. Run / add either of the below two commands
"tsf/laravel-neo4j-php-client": "^1.0"
or
composer require tsf/laravel-neo4j-php-client=^1.0
After updating composer, add the ServiceProvider in app/config/app.php
TSF\Neo4jClient\Neo4jServiceProvider::class,
and the facade
'Neo4jClient' => TSF\Neo4jClient\Facades\Neo4jClient::class,
Run the artisan command to bring the config into your project
php artisan vendor:publish --provider="TSF\Neo4jClient\Neo4jServiceProvider"
Update config/neo4j.php with your connection data.
How to use
Neo4jClient::run('CREATE (n:Person)');
For all available methods you can use please read GraphAware documentation here: GraphAware Neo4j PHP Client
统计信息
- 总下载量: 1.69k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-06-21