You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pages/client-libraries/php.mdx
+9-13Lines changed: 9 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ import CodeSnippet from '/components/code-snippet/CodeSnippet'
11
11
12
12
Learn how to create a PHP application that connects to the Memgraph database and executes simple queries.
13
13
14
-
Community-contributed library [PHP Bolt](https://github.com/neo4j-php/Bolt) by Michal Štefaňák is the most commonly used to connect to Memgraph with PHP via Bolt protocol.
14
+
Community-contributed library [PHP Bolt driver](https://github.com/stefanak-michal/php-bolt-driver) by Michal Štefaňák is the most commonly used to connect to Memgraph with PHP via Bolt protocol.
15
15
Memgraph and Neo4j both support Bolt protocol and Cypher queries, which means that same client can be used to connect to both databases.
16
16
This is very convenient if switching between the two databases is needed.
17
17
@@ -21,7 +21,7 @@ The following guide will demonstrate how to start Memgraph, connect to it, seed
21
21
22
22
The necessary prerequisites that should be installed in your local environment are:
To use Bolt protocol version 5.2 with Memgraph, install PHP Bolt library version >= 6.1.3.
133
-
</Callout>
134
-
135
131
### Run the application
136
132
137
133
To run the application, run the following command in terminal:
@@ -152,7 +148,7 @@ Another way of running your application is by adding a script in the `composer.j
152
148
```json
153
149
{
154
150
"require": {
155
-
"stefanak-michal/bolt": "6.1.3"
151
+
"stefanak-michal/bolt": "^7"
156
152
},
157
153
"scripts": {
158
154
"start": "php -S localhost:4000"
@@ -177,7 +173,7 @@ That query will visualize the created node. By clicking on a node, you can explo
177
173
178
174
### Next steps
179
175
180
-
This guide makes a good starting point when building PHP applications. Check out the [PHP Bolt driver repository](https://github.com/neo4j-php/Bolt) to learn more about using the PHP Bolt library.
176
+
This guide makes a good starting point when building PHP applications. Check out the [PHP Bolt driver repository](https://github.com/stefanak-michal/php-bolt-driver) to learn more about using the PHP Bolt library.
181
177
182
178
You can simplify the usage of this library with the [Memgraph Bolt wrapper](https://github.com/stefanak-michal/memgraph-bolt-wrapper).
183
179
@@ -189,4 +185,4 @@ If you encounter serialization errors while using PHP client, we recommend
189
185
referring to our [Serialization errors](/help-center/errors/serialization) page
190
186
for detailed guidance on troubleshooting and best practices.
0 commit comments