Skip to content

Latest commit

 

History

History
64 lines (50 loc) · 1.76 KB

README.md

File metadata and controls

64 lines (50 loc) · 1.76 KB

About PHPSciter

Build status

  • 目前仅支持zts

PHPSciter is a PHP extension to bind the Sciter framework which is a cross platform GUI framework.

Contact us

Email: wwccss@gmail.com QQ: 546025324

关于PHPSciter

Sciter是一个非常优秀的的跨平台的GUI框架,它使用HTML5 + CSS来绘制界面,使用TIScritpt来做交互。 PHPSciter是一个PHP绑定Sciter的扩展。

联系我们

Email: wwccss@gmail.com QQ: 546025324

Install Sciter

  1. Download the [sciter-sdk][]

  2. Extract the sciter runtime library from [sciter-sdk][] to system PATH

    The runtime libraries lives in bin bin.gtk bin.osx with suffix like dll so or dylib

    • Windows: simply copying bin\64\sciter.dll to c:\windows\system32 is just enough
    • Linux:
      • cd sciter-sdk/bin.gtk/
      • echo $PWD >> libsciter.conf
      • sudo cp libsciter.conf /etc/ld.so.conf.d/
      • sudo ldconfig
      • ldconfig -p | grep sciter should print libsciter-gtk-64.so location
    • OSX:
      • cd sciter-sdk/bin.osx/
      • export DYLD_LIBRARY_PATH=$PWD

Ubuntu 16.04

apt-get install build-essential pkg-config
apt-get install gnome-devel gnome-devel-docs --fix-missing
apt-get install glade libglade2-dev
apt-get install glade-gnome

git clone https://github.com/easysoft/phpsciter.git
cd phpsciter
phpize
./configure
make
make install

php examples/callback/index.php

Mac OS

git clone https://github.com/easysoft/phpsciter.git
cd phpsciter
phpize
./configure
make
make install

php examples/callback/index.php