Skip to content

Latest commit

 

History

History
43 lines (31 loc) · 1.32 KB

README.md

File metadata and controls

43 lines (31 loc) · 1.32 KB

G\Object

The gtkforphp gobject extension provides languages bindings for GObject functionality. Documentation and information about the library can be found at http://developer.gnome.org/gobject/stable/

Right now this is little more then a placeholder.

You can send comments, patches, questions here on github

This is still an experimental extension.

Installing/Configuring

This extension requires the gtkforphp/glib extension as a dependency - for more information see https://github.com/gtkforphp/glib

This extension requires gobject development files. You can build the package manually or use your system's package manager. For example on ubuntu use

apt-get install libgobject-2.0-dev

Then you can use phpize to install the extension against your current PHP install

phpize
./configure
make && make test && make install

If you want to use a non-standard location for your PHP use

/path/to/phpize
./configure --with-php-config=/path/to/php-config
make && make test && make install

make install copies gobject.so to the right location, but you still need to enable the module in your php.ini file. Although the extension can be used with a webserver, it's recommended you only use this with a cli PHP install.