Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/getdnsapi/getdns-php-bindings
A PHP language binding for the getdns API
https://github.com/getdnsapi/getdns-php-bindings
Last synced: about 2 months ago
JSON representation
A PHP language binding for the getdns API
- Host: GitHub
- URL: https://github.com/getdnsapi/getdns-php-bindings
- Owner: getdnsapi
- License: other
- Created: 2015-04-17T16:23:39.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-01-15T12:36:11.000Z (almost 9 years ago)
- Last Synced: 2024-03-17T11:10:41.318Z (10 months ago)
- Language: HTML
- Size: 633 KB
- Stars: 7
- Watchers: 24
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog
- License: LICENSE
Awesome Lists containing this project
README
getdns-php
==========A PHP language binding for the getdns API, version 0.11.0.
This implementation is licensed under the New BSD License (BSD-new).NOTE: THIS IS A BETA RELEASE!
Dependencies:
* PHP 5.x (PHP 5.6.8 was used for development and testing)
* libgetdns 0.9.*
* getdns library header filesThe configure script will confirm that the dependencies have been met,
but it will not check version numbers.To build:
$ phpize
$ ./configure --enable-getdns
$ make
$ sudo make installTo clean:
$ make clean
$ phpize --cleanNote that the following getdns library functions are not
implemented in this extension:* getdns_context_create_with_memory_functions()
* getdns_context_create_with_extended_memory_functions()
* getdns_context_set_eventloop()
* getdns_context_set_memory_functions()
* getdns_context_set_extended_memory_functions()
* getdns_dict_create_with_memory_functions()
* getdns_dict_create_with_extended_memory_functions()
* getdns_list_create_with_memory_functions()
* getdns_list_create_with_extended_memory_functions()
* getdns_pretty_snprint_dict()
* getdns_pretty_snprint_list()
* getdns_snprint_json_dict()
* getdns_snprint_json_list()Each makes assumptions about memory management functions
that aren't directly applicable to PHP.## Documentation
Documentation is written in the DocBook format preferred
by the PHP community. XML input files can be found in the
doc-in directory.Documentation intended for human consumption is provided in
HTML format and can be found in the doc-out directory. The
documentation root can be found at
doc-out/php-chunked-xhtml/index.html.## Regression Tests
A suite of regression tests (written in
[phpt](http://qa.php.net/write-test.php) format) is included
with the extension. Test cases can be found in the tests
directory. All of the tests can be executing by running
"make test" after building the extension as described
above. The test cases are written to validate positive
code paths that produce successful results.## To Do
* Testing of error code paths.
* Fix bugs as they are uncovered by testing.