Code Monkey home page Code Monkey logo

php-xpl's Introduction

php-xPL

PHP bindings for the xPL4Linux xPL Library

WARNING: This is an in-development library, it will not be bug free and fully featured. Please email simon at ateb dot co dot uk if you have any problems, suggestions, questions or words of support.

Testing: Build with gcc version 4.6.3 (Debian 4.6.3-14+rpi1) Built against PHP 5.4.4

Prerequisites: You must have git, git-core, swig2.0, php5-dev, php5-cli and php5-common installed as well as the usual build tools gcc etc.

Get/setup repo:

git clone https://github.com/JakDaniels/php-xPL
cd php-xPL

Build & install with:

./build.sh

Check that the module loads:

php -m

Look for the 'xPL' module in the list and that there are no errors (missing symbols etc at the top of the list).

The build script does the following things:

1) Downloads the xPL library (first time) from http://xpl4java.org/xPL4Linux/
2) Builds and Installs the xPL library, and makes the examples and the xPL-Hub (in xPLLib/examples)
3) Creates an interface file for SWIG using the xPL library header files
4) Uses SWIG to create the PHP module source code and include files
5) Builds the PHP module source and then installs the shared module library (using sudo)

php-xpl's People

Contributors

jakdaniels avatar

Watchers

Thomas Lecarpentier avatar James Cloos 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.