php.bash
#!/usr/bin/env bash
# Setup a directory with ssh-server connection settings
function php_server(){
port=$1
if [[ "$port" == "" ]];then
port=3000
fi
php -S localhost:$port deliver.php
}
# Executes the php script at the autoload_build_path set in your secrets/general.bash file
function php_autoload(){
source "${SCRIPT_ROOT}/secrets/general.bash"
php "${autoload_exec_path}"
# php "${autoload_build_path}"
}