https://github.com/easysoft/phpsciter
The php extension of sciter. You can use it to build cross platform GUI app by php.
https://github.com/easysoft/phpsciter
php phpgui sciter
Last synced: about 2 months ago
JSON representation
The php extension of sciter. You can use it to build cross platform GUI app by php.
- Host: GitHub
- URL: https://github.com/easysoft/phpsciter
- Owner: easysoft
- License: apache-2.0
- Created: 2020-08-24T03:25:23.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-09-05T10:54:25.000Z (over 3 years ago)
- Last Synced: 2025-03-27T21:04:05.269Z (2 months ago)
- Topics: php, phpgui, sciter
- Language: C++
- Homepage:
- Size: 80.2 MB
- Stars: 60
- Watchers: 5
- Forks: 6
- Open Issues: 2
-
Metadata Files:
- Readme: README-EN.md
- License: LICENSE
Awesome Lists containing this project
README
English | [中文](./README.md)
### About PHPSciter
PHPSciter is a PHP extension to bind the [Sciter](http://www.sciter.com/) framework which is a cross platform GUI framework.### Install Sciter
Download the [sciter-sdk][]1. Put Sciter's dynamic library directly into the same location as the PHP executable files.
2. Extract the sciter runtime library from [sciter-sdk][] to system PATHThe 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 lib/sciter/linux`
- `tar zxvf libsciter-gtk-lnx.tar.gz`
- `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 lib/sciter/mac`
- `export DYLD_LIBRARY_PATH=$PWD`
#### Windows- Please put "phpsciter.dll" to php.exe/extension folder
#### Ubuntu 16.04
```
apt-get install build-essential pkg-config
apt install libgtk-3-devgit clone https://github.com/longyan/phpsciter.git
cd phpsciter
phpize
./configure
make
make installphp examples/phpsciter-load-frame/index.phpt
```#### Mac OS
```
git clone https://github.com/longyan/phpsciter.git
cd phpsciter
phpize
./configure
make
make installphp examples/phpsciter-load-frame/index.phpt
```#### Notice!
- If you used "make clean function", you have to do configuration again.
#### Debug- 如何进行Sciter软件方面的调试?
- 需要将sciter-sdk下面的inspector 拷贝到 与php.exe 同级目录下,点击Dom inspector
