Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fbiville/go-c-php-experiment
https://github.com/fbiville/go-c-php-experiment
Last synced: 17 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/fbiville/go-c-php-experiment
- Owner: fbiville
- License: apache-2.0
- Created: 2020-12-18T17:40:30.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2020-12-22T17:01:12.000Z (almost 4 years ago)
- Last Synced: 2024-10-15T04:52:40.763Z (about 1 month ago)
- Language: PHP
- Size: 3.02 MB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PHP experimental Bolt connector
This is just a _disposable_ **experiment**.
The implementation is based on the generated C bindings from a forked [Neo4j Go Driver](https://github.com/2hdddg/neo4j-go-driver/tree/cspike).
## Prereqs
1. Install PHP 8+
1. Install [Composer](https://getcomposer.org/download/)
1. If not on Mac OS, generate the `.so` file based on the instructions of the aforementioned forked Go driver
1. Change [the `FFI_LIB` line](./libneo4j.h) to point to your local shared library path
1. Make sure to start a local Neo4j instance with the configured `"neo4j"`/`"pass"` credentials## Run
As simple as:
```shell
./run.sh
```Or:
```shell
composer run main
```