• This repository has been archived on 09/Dec/2021
  • Stars
    star
    201
  • Rank 194,491 (Top 4 %)
  • Language
    C++
  • License
    GNU Lesser Genera...
  • Created over 12 years ago
  • Updated almost 8 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

The PHP GTK Bindings
PHP-GTK: PHP language bindings for GTK+ toolkit
===============================================
PHP-GTK is a PHP extension that enables you to write client-side cross-platform
GUI applications. This is the first such extension of this kind and one of the
goals behind it was to prove that PHP is a capable general-purpose scripting
language that is suited for more than just Web applications.

This extension will _not_ allow you to display GTK+ programs in a Web browser,
and can be used in the Web environment only if you are running the webserver
locally. It is intended for creating standalone GUI applications.


Requirements
============
As a prerequisite, you should have a CLI binary (command-line) version of PHP
installed along with the header files and development scripts. They should
normally be installed when you do 'make install' in the PHP source tree.

Currently, PHP-GTK requires PHP 5.1.2 or greater to run, and to build.

PHP-GTK supports GTK+ v2.6 and requires v2.6 or greater. The latest stable
release of GTK+ can be obtained from ftp://ftp.gnome.org/pub/gnome/sources/gtk+/.


Installation and testing
========================
After unpacking the distribution or checking out the sources from the CVS,
change into the base directory and do the following.

First, run './buildconf' script that comes with PHP-GTK. It will set up
necessary files and create 'configure' script for you.  Next, run './configure'.
It will check that you have proper version of GTK+ and other files required for
compilation and create the Makefile's.

PHP-GTK supports extensions which can be configured via 'configure' script
switches that you can see by running './configure --help'.

Finally, run 'make' to compile the extension. Some source files are generated
from .defs files by the code generator. If you see messages like "Could not
write...", that just means that certain GTK+ objects or features are not yet
supported. If the compilation is successful, run 'make install' to install the
extension into your default PHP extension directory.

To test the extension, try running the demo scripts in the demos/ directory,
especially phpgtk2-demo.php. These are also good for showing how the extension
can be used.


Website
=======
The website for this extension can be found at:

    http://gtk.php.net/

This is where you should go to obtain the latest releases and news about
PHP-GTK.


Mailing lists
=============
There are several mailing lists for PHP-GTK.

   * General list
     ------------
     This list is for general discussion of PHP-GTK, techniques, problems,
     development of applications, questions, and other issues.

     List address: [email protected]
     Subscription: [email protected]
     Archive:      http://marc.info/?l=php-gtk-general

   * Developers list
     ---------------
     This list is for those wanting to help with development of PHP-GTK and its
     extensions.

     List address: [email protected]
     Subscription: [email protected]
     Archive:      http://marc.info/?l=php-gtk-dev

   * Documenters list
     ----------------
     This list is for those discussion and development of PHP-GTK documentation.

     List address: [email protected]
     Subscription: [email protected]
     Archive:      http://marc.info/?l=php-gtk-doc

To subscribe to any of the lists, send blank email to the appropriate
subscription address.


Patches and feedback
====================
Please use the mailing lists for most of your questions -- many people read
them and you are more likely to get quicker feedback if you post there first.
Patches in the unified diff (diff -u) format should be sent to the developers
list (see above).


Acknowledgements
================
The person I would like to thank the most is James Henstridge
<[email protected]>, the author of PyGTK (Python GTK+ bindings). His help and
advice have proved invaluable during the development of this extension, and a
fair amount of source code is based on or inspired by what he has developed for
PyGTK.

I'd also like to thank PHP team for making such a great language and the GTK+
team for developing what has to be the best C-based GUI toolkit.

# vim: set et tw=80 ai sts=4:

More Repositories

1

php-src

The PHP Interpreter
C
36,014
star
2

php-langspec

PHP Language Specification
PHP
2,289
star
3

web-php

The www.php.net site
PHP
778
star
4

doc-en

English PHP documentation
XML
498
star
5

doc-base

Tools for the PHP documentation
PHP
321
star
6

php-rfcs

Experimental repo for GitHub based RFC workflow. For now, please don't submit PRs.
294
star
7

pie

The PHP Installer for Extensions
PHP
158
star
8

doc-zh

Chinese translation of the PHP documentation
130
star
9

pecl-php-operator

Operator overloading for Objects
C
124
star
10

doc-pt_br

Brazilian Portuguese translation of the PHP documentation
XML
98
star
11

php-sdk-binary-tools

Tool kit for building PHP under Windows
M4
82
star
12

phd

PHD
PHP
68
star
13

web-qa

The PHP QA Website
PHP
68
star
14

pecl-file_formats-yaml

YAML-1.1 parser and emitter
C
67
star
15

doc-ja

Japanese translation of the PHP documentation
HTML
67
star
16

pecl-search_engine-solr

The Apache Solr PHP extension is an extremely fast, light-weight, feature-rich library that allows PHP applications to communicate easily and efficiently with Apache Solr server instances using an object-oriented API.
C
61
star
17

web-bugs

The PHP Bugtracking System
PHP
58
star
18

pecl-php-uploadprogress

An extension to track progress of a file upload
C
54
star
19

pecl-networking-ssh2

Bindings for the libssh2 library
C
51
star
20

doc-ru

Russian translation of the PHP documentation
XML
48
star
21

presentations

PHP presentations
HTML
45
star
22

web-doc-editor

The PHP Documentation Editor
JavaScript
43
star
23

systems

Hooks and Cronjobs for PHP Infrastructure
C
41
star
24

pecl-networking-uuid

UUID extension
C
35
star
25

web-wiki

The PHP Wiki Systems
PHP
35
star
26

doc-fr

French translation of the PHP documentation
HTML
34
star
27

pecl-networking-gearman

PHP wrapper to libgearman
C
32
star
28

web-doc

PHP
32
star
29

web-php-distributions

All released PHP distributions
PHP
28
star
30

php-tasks

Tasks that need doing. This is for php-src maintainers. The end-user bug tracker is at https://bugs.php.net/.
28
star
31

pecl-mail-mailparse

Email message manipulation
C
27
star
32

php-windows-builder

Tooling to build PHP and extensions on Windows
PowerShell
27
star
33

pecl-system-yaf

PHP Framework in PHP extension
C
26
star
34

pecl-database-mysql

Legacy MySQL extension
PHP
25
star
35

web-pecl

The PECL website
PHP
24
star
36

web-master

The user management system
PHP
23
star
37

web-windows

PHP
22
star
38

doc-de

German translation of the PHP documentation
XML
21
star
39

pecl-languages-v8js

V8 Javascript Engine for PHP
C++
21
star
40

pecl-system-dio

Direct I/O functions
C
21
star
41

pecl-tools-stomp

Stomp Client Extension
C
20
star
42

web-pres2

PHP presentation system
PHP
19
star
43

web-gtk

The PHP GTK site
HTML
18
star
44

doc-es

Spanish translation of the PHP documentation
18
star
45

pecl-database-ibm_db2

Extension for IBM DB2 Universal Database, IBM Cloudscape, and Apache Derby
PHP
18
star
46

pecl-database-mysql_xdevapi

PECL MySQL X DevAPI
C++
17
star
47

pecl-caching-apc

Alternative PHP Cache
PHP
17
star
48

pecl-http-pecl_http

Extended HTTP Support
17
star
49

pecl-system-sync

Synchronization objects
C
16
star
50

pecl-numbers-bitset

C
16
star
51

pecl-event-libevent

Libevent - event notification
C
15
star
52

pecl-php-runkit

PECL Runkit Extension
15
star
53

pecl-database-pdo_ibm

PDO driver for IBM databases
PHP
15
star
54

web-gcov

The PHP GCOV system
PHP
15
star
55

pecl-encryption-mcrypt

Interface to the mcrypt library
PHP
14
star
56

doc-tr

Turkish translation of the PHP documentation
14
star
57

web-shared

Shared code across various .php.net sites
CSS
14
star
58

pecl-php-parsekit

PHP Opcode Analyser
C
14
star
59

web-people

The PHP people system
PHP
14
star
60

web-rmtools

The PHP release management tools
PHP
13
star
61

karma

The Karma Stuff
PHP
12
star
62

pecl-text-xdiff

File differences/patches.
C
12
star
63

pecl-search_engine-sphinx

Client extension for Sphinx - opensource SQL full-text search engine
C
12
star
64

pecl-php-ffi

Foreign Function Interface
C
11
star
65

pecl-caching-memcache

memcached extension
C
10
star
66

web-news

The mailinglist frontend
PHP
10
star
67

pecl-authentication-krb5

PECL krb5 extension
C
10
star
68

doc-it

Italian translation of the PHP documentation
HTML
10
star
69

pftt2

A test tool for the PHP ecosystem designed for convenience, thoroughness and speed.
Java
10
star
70

.github

Github organization configuration
10
star
71

pecl-datetime-timezonedb

Timezone Database to be used with PHP's date and time functions
C
10
star
72

pecl-web_services-oauth

oauth consumer extension
C
9
star
73

doc-uk

Ukrainian translation of the PHP documentation
9
star
74

php-svn-helpers

Helper scripts to checkout the php-src repository from github.
Shell
9
star
75

pecl-networking-mqseries

MQseries client library
C
9
star
76

pecl-php-blenc

BLowfish ENCryption for PHP Scripts
C
9
star
77

pecl-security-selinux

SELinux binding for PHP script language
C
7
star
78

pecl-text-ssdeep

PECL ssdeep Fuzzy Hashing extension
C
7
star
79

pecl-networking-geoip

Map IP address to geographic places
C
7
star
80

pecl-networking-xmlrpc

XML-RPC server and client bindings
C
7
star
81

pecl-tools-fann

PECL fann - Artificial neural networks
C
6
star
82

pecl-math-trader

Technical Analysis for traders.
C
6
star
83

pecl-database-pdo_user

Userspace driver for PDO
C
6
star
84

playground

Git testing playground
PHP
6
star
85

pecl-database-dbase

dBase database file access functions
PHP
6
star
86

php-fuzzing-sapi

PHP Fuzzing SAPI
C
5
star
87

pecl-caching-wincache

Windows Cache Extension for PHP
C
5
star
88

pecl-file_formats-rar

rar extension
C++
5
star
89

doc-pl

Polish translation of the PHP documentation
HTML
4
star
90

benchmarking-data

4
star
91

pecl-database-pq

PECL pq extension
4
star
92

pecl-xml-xmldiff

XML diff and merge
C++
4
star
93

pecl-text-wddx

WDDX data exchange format
PHP
4
star
94

pecl-php-raphf

PECL raphf extension
4
star
95

pecl-database-pdo_informix

PDO driver for IBM Informix INFORMIX databases
C
4
star
96

pecl-php-memtrack

PHP extension to watch (unusually high) memory consumption in PHP scripts
C
4
star
97

pecl-internationalization-fribidi

Implementation of the Unicode BiDi algorithm
C
4
star
98

pecl-file_formats-lzf

LZF compression
C
3
star
99

pecl-database-interbase

InterBase/FireBird extension
C
3
star
100

pecl-multimedia-xmp

xmp module file
C
3
star