Skip to content
This repository was archived by the owner on Aug 30, 2021. It is now read-only.

unbelievableflavour/php-tester

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

125 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Get it on AppCenter

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

About

Run your PHP scribbles

Topics

Resources

License

GPL-3.0, GPL-3.0 licenses found

Licenses found

GPL-3.0
LICENSE
GPL-3.0
COPYING

Stars

Watchers

Forks

Packages

 
 
 

Contributors