neoxygen/neo4j-console-client
Composer 安装命令:
composer require neoxygen/neo4j-console-client
包简介
PHP Client for the Neo4j Console API
README 文档
README
Simple PHP Client for creating Neo4j console setups (see http://console.neo4j.org)
Usage
Installation
Via composer :
composer require neoxygen/neo4j-console-client
Init Queries, Message and Console Query
You can add queries to setup the console, add a message to the user and a first query when the console load :
require_once 'vendor/autoload.php'; use Neoxygen\ConsoleClient\Client; $consoleClient = new Client(); $consoleClient ->addInitQuery('CREATE (p:Person)') ->addInitQuery('CREATE (c:Company)') ->addInitQuery('MERGE (p)-[:WORKS_AT]->(c);') ->addConsoleMessage('An awesome Neo4j console setup') ->createConsole(); $consoleUrl = $consoleClient->getShortLink(); // -> http://console.neo4j.org/r/8iijau
Open the link and enjoy !
Todo
[ ] Generation from files in Terminal
Author
Christophe Willemsen : twitter | github
License
Released under the MIT License, view the License file shipped with this library
统计信息
- 总下载量: 66
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 6
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2014-10-16