Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/unbelievableflavour/php-tester
Run your PHP scribbles
https://github.com/unbelievableflavour/php-tester
code development elementary php scribble vala
Last synced: 3 months ago
JSON representation
Run your PHP scribbles
- Host: GitHub
- URL: https://github.com/unbelievableflavour/php-tester
- Owner: unbelievableflavour
- License: gpl-3.0
- Archived: true
- Created: 2017-10-06T13:56:05.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2021-08-30T13:04:16.000Z (about 3 years ago)
- Last Synced: 2024-07-28T23:29:17.393Z (3 months ago)
- Topics: code, development, elementary, php, scribble, vala
- Language: Vala
- Homepage:
- Size: 358 KB
- Stars: 17
- Watchers: 3
- Forks: 2
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: COPYING
- Authors: AUTHORS
Awesome Lists containing this project
- awesome-elementaryos - PHP Tester - Test your PHP code easily [:white_check_mark:](https://appcenter.elementary.io/com.github.bartzaalberg.php-tester.desktop) (Applications / Development)
README
# Archived
This repository is not maintained anymore and will not be updated to Elementary OS 6.0. You have my blessing to create a fork and update the application to post publish it in Elementary 6.0 under your own name.# PHP Tester
Test your PHP code easily
### PHP code without a server!
A Vala application to test PHP snippets without having to start a server.
## Installation
First you will need to install elementary SDK
`sudo apt install elementary-sdk`
### Dependencies
These dependencies must be present before building
- `valac`
- `gtk+-3.0`
- `granite`
- `gtksourceview-3.0`You can install these on a Ubuntu-based system by executing this command:
`sudo apt install valac libgtk-3-dev libgranite-dev gtksourceview-3.0`
### Building
```
meson build --prefix=/usr
cd build
ninja
```### Installing
`sudo ninja install`### Recompile the schema after installation
`sudo glib-compile-schemas /usr/share/glib-2.0/schemas`### Update .pot file
Call the following command from the build folder:`ninja com.github.bartzaalberg.php-tester-pot`
## FAQ
#### I have XAMPP installed but the application can't find PHP. Why is that so?
Unfortunately XAMPP puts PHP in a location that PHP Tester cannot reach. As a workaround you can create a symlink to the default location. Set the PHP path back to `/usr/bin` from the applicatoin and run the following command.
`sudo ln -s /opt/lampp/bin/php /usr/bin/php`