https://github.com/fadilxcoder/php-desktop
Desktop PHP - 8.1 (PoC : HFX | API : https://github.com/fadilxcoder/reactjs-php.git)
https://github.com/fadilxcoder/php-desktop
api-server php-desktop poc sqlite
Last synced: 5 months ago
JSON representation
Desktop PHP - 8.1 (PoC : HFX | API : https://github.com/fadilxcoder/reactjs-php.git)
- Host: GitHub
- URL: https://github.com/fadilxcoder/php-desktop
- Owner: fadilxcoder
- License: other
- Created: 2022-09-11T09:23:39.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-07-23T09:47:05.000Z (almost 3 years ago)
- Last Synced: 2025-01-04T19:23:29.823Z (over 1 year ago)
- Topics: api-server, php-desktop, poc, sqlite
- Language: PHP
- Homepage:
- Size: 92.6 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: license.txt
Awesome Lists containing this project
README
# PHP desktop framework with Phinx / PHP 8.1


- Source https://github.com/cztomczak/phpdesktop.git
- https://windows.php.net/downloads/releases/ (PHP for windows)
```
8/30/2022 6:40 PM 27585271 php-8.1.10-nts-Win32-vs16-x86.zip
```
- Keep `php/php.ini` and remove -> copy new php version files to `php`
- Using in-built PHP CLI : `./php/php.exe -v` in root **OR** `./php bin/console .....` in `www` folder
- Add to `composer.json`
```
....
"config": {
"platform-check": false,
"platform": {
"php": "8.1"
},
.....
```
- Documentation : https://github.com/fadilxcoder/helifox.git (HFX4)
- Create datbase if not created in `\www\db` : `echo "" > database.db`
- Database migration schema : `vendor/bin/phinx migrate`
- Database seed : `vendor/bin/phinx seed:run`
- Database rollback : `vendor/bin/phinx rollback`
- Compiling assets
- - `npm run js-build` : compile JS
- - `npm run css-build` : compile CSS
- - `npm run js-build-watch` : compile JS in watch mode