Completed

Developer needed to wrap a small go library in zend PHP extension

We have a library with a few functions written in go (cgo) which we are intending to call from programs written in several different languages. The library is compiled using the "-buildmode=c-shared" flag to create a shared object binary (.so file).

We have already integrated the library with languages like Python, Node.js, etc. Now, we would like to do so with PHP. However due to the lack of a standard library, it is not as straightforward as it is in other languages. Thus, we would like someone to help us with this.

The job involves the following:

1. We will provide you with the go library.

2. You will write a zend php extension that will wrap the go library. The extension should work with PHP 5.5+ and PHP 7.

3. You will provide us with the extension as well as all the necessary resources/steps required to integrate it with a PHP script (build script, header files, etc.) so that we can easily add more functions later in the future if needed.

Deliverables:

1. Source code for the Zend PHP C extension along with Makefile, C code and headers etc.

2. Need help in deciding if the go library should be dynamically complied or statically into the C extension

3. Example PHP code of the functions being called (both in PHP5 and PHP7)

Anyone with experience in writing PHP extensions that call go/cgo functions is welcome to apply.

Skills: PHP, Golang, C Programming

See more: php oscommerce developer needed, outsource php developer needed, php developer needed delhi, php developer needed germany, php developer needed parttime, php flash developer needed, php cms developer needed, web developer needed redesign php, php developer needed full time, php project developer needed, php developer needed india, php mysql developer needed, wordpress developer needed small, senior php developer needed, php component zend guard loader is required but missing from you php installation

About the Employer:
( 0 reviews ) Kathmandu, Nepal

Project ID: #29441016

Awarded to:

medbrah219

Hi, I'm an experienced C programmer, I've written extensions for a variety of software (JNI, PostgreSQL, Go bindings, PHP extension, ...). With my experience, I can assure you a clean, well-documented, and efficient w More

$200 USD in 8 days
(27 Reviews)
5.3

2 freelancers are bidding on average $225 for this job

marshallchris988

MASTERS SOFTWARE ARCHITECTURE EXPERT IN PHP AND GOLANG HELLO, I have understood your SPECIFICATIONS for the task. I have over 5 YEARS’ experience in this field and have adverse experience since it is my area of speci More

$150 USD in 3 days
(0 Reviews)
0.0