Skip to content

hwrod/php-fiddle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PHP-Fiddle

An easy way to fiddle with PHP code on the command line.

Installation

Add the following to your .bash_profile or .bashrc file:

export PHPFIDDLE=~/web/tests/phpfiddle   # modify the path to this repo accordingly
alias pf="$PHPFIDDLE/run.sh"             # choose shorthand alias for running a fiddle

Remember to allow execute permissions on run.sh.

Now you can simply type

$ pf

(for phpfiddle) on any terminal, which will open up MacVim (or your preferred editor) and any changes made to the file will automatically show up in the terminal.

About

An easy way to fiddle with PHP code on the command line

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published