Skip to main content

Posts

Showing posts from November, 2017

A Step by step guide to up and running PHP Laravel in android.

Requirements: - Android Device with Android 6.0 or higher - Termux app - decent internet connection Step 1: Download and install  Texmux  on your android device. Step 2: On your device, open the Settings. Go to Apps and open it. Tap the ‘Termux’ app see more. Go to “Permissions”,  Allow Storage Access . Step 3: Update Termux default repositories Update repositories $ cd ~ $ apt update && apt upgrade Install core utilities $ apt install coreutils Install curl $ apt install curl Step 4: Install Git + PHP $ apt install git php Step 7: Install Composer To install composer visit  Composer for Termux  and follow the instructions Installation $ curl -L https://github.com/yuloh/composer-termux/releases/download/0.0.1/composer.phar -o composer.phar $ chmod +x ./composer.phar $ mv ./composer.phar /data/data/com.termux/files/usr/bin/composer NOTE: Composer scripts Any bin scripts you install (phpunit, psysh, etc) will need to be  patched  to work wi