Code Monkey home page Code Monkey logo

arangodb-php-driver's Introduction

ArangoDB PHP Driver

Codacy Badge Code Triagers Badge

A client for ArangoDB compiled as an extension for PHP.

Description

ArangoDB-PHP-Driver is a PHP client for ArangoDB written as C-extension for language.
This project is still in work in progress (WIP), so some features are still being implemented.

Requirements

  • PHP 7+
  • PHP-json extension

Installation

You can use the installation scripts under install.
Note that this driver is still in development, so do not use in production.

Debian, Ubuntu, Mint and other Debian-based distros

You must download the shared library in ext/modules and install in your PHP environment. Remember to add the shared library in your php.ini file and restart your web server.

Fedora, CentOS or RHEL

Use the Fedora installation script:
sudo chmod a+x install\fedora\install.sh
sudo ./install\fedora\install.sh

Development

While the driver is still being implemented, you can install it from this repository using the Zephir language tools. To help you with this task, there are two configuration scripts in config directory. They will install Zephir parser and Zephir language in your environment.

Debian, Ubuntu, Mint and other Debian-based distros

Use the Debian environment installation script:
sudo chmod a+x environment\debian\install.sh
sudo ./environment\debian\install.sh

Fedora, CentOS or RHEL

Use the Fedora environment installation script:
sudo chmod a+x environment\fedora\install.sh
sudo ./environment\fedora\install.sh

The next step is to clone this repository:

git clone https://github.com/lucassouzavieira/arangodb-php-driver.git

At this point, your environment should already be ready to develop. To compile the extension, use the command:

cd arangodb-php-driver/
sudo zephir build (Because the extension is also added in your php.ini file)

How to Use PHP Client

We will soon add more information about this

How to contribute

Check how contribute in this project

License

ArangoDB-PHP-Driver is distributed under MIT License.

arangodb-php-driver's People

Contributors

codacy-badger avatar lucassouzavieira avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.