Terminal commands for Laravel

10 January 2019 PHP Shell Laravel Web Development Linux

Bash scripting


Creating the file (example)


#!/bin/bash cd /opt/lampp/htdocs/Git/EnvientaCrowdInvesting/ php artisan serve


Save as something.sh

Execute in the terminal like

$ sudo ./something.sh