Skip to content

jgmdev/php-webkitgtk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP-WEBKITGTK

A php extension that wraps the webkitgtk library and allows you to start a new web browser instance from your php scripts. For now it doesn't offer much but a window where you can load your webui using the php built-in webserver or anything else.

A lot of stuff needs to be done and implemented but for now it gives you a web browser where you can load your PHP/HTML/CSS/JS Apps!

Example

$view = new WebKitGtk\WebView("The initial Window Title");
$view->loadURI("http://localhost:8080");
$view->show();

Installation

For now the extension only works on Linux since I don't know the whole process needed to compile gtk and webkitgtk library on anything else...

Steps to install

git clone https://github.com/jgmdev/php-webkitgtk
cd php-webkitgtk
phpize
./configure
make
sudo make install

Credits

I used krakjoe ui repository as the boiler plate to start developing this extension, thanks to him!

About

A php extension that wraps the webkitgtk library.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published