_ _ _ ______
| | | | | | |___ /
| | | | ___| |__ / / ___ _ __ ___
| |/\| |/ _ \ '_ \ / / / _ \| '_ \ / _ \
\ /\ / __/ |_) | ./ /__| (_) | | | | __/
\/ \/ \___|_.__/ \_____/\___/|_| |_|\___|
Termux Webzone is a CLI application which provides a ton of features for web developers to build, run and test their php applications within the limits of android. The application is designed only to work with Termux.
- php 7.3+
- curl
- termux
Basically, we need to update and upgrade our packages first. After that we will install php and setup permission to use storage.
pkg update -y
pkg upgrade -y
pkg install php wget -y
termux-setup-storageRun the command and the script will take care of the rest.
wget https://raw.githubusercontent.com/albinvar/webzone-api/main/installer/installer.php -O - | phpRun the command and the script will take care of the rest.
curl -s https://raw.githubusercontent.com/albinvar/webzone-api/main/installer/installer.php | phpRemember, installing with composer requires each and every libraries should be downloaded first.
composer global require albinvar/termux-webzone - Download the script from here.
- Execute the file using php.
php installer.php- You can also install via composer by adding the flag
-cor--composer.
php installer.php --composerYou can update webzone simply using the inbuilt command.
webzone self-updateOr if you have installed via composer, use
composer global update albinvar/termux-webzoneAdditionaly, old users needs to regenerate settings using the command webzone settings:init -f for any major updates.
- Install PhpMyAdmin
- Create Wordpress site
- Create Development server
- Configure composer globally
- Create almost 4+ php framework projects.
- Create onion sites (tor)
- Portforwading through Ngrok
- Portforwading through Localhost.run
- Settings option to configure everything.
- More features coming soon...
| Installer | Webzone CLI |
|---|---|
![]() |
![]() |
The following commands are available in our tool. You can use the individual crafting routines which are similar to the Artisan commands.
- about
- manager
- settings
- self-update
- install:mysql
- install:pma
- create:codelighniter
- create:laravel
- create:nette
- create:symfony
- create:sapper
- create:zend
- installer:laravel
- installer:symfony
- installer:fixer
- installer:phpstan
- installer:wordpress
- server:all
- server:dev
- server:pma
- server:mysql
- server:wordpress
- share:localhost.run
- share:ngrok
- share:tor
- composer:global
- project:list (Beta)
You can use this Commands specifically builded for each features.
$ webzone manager Use : An interactive web interface for managing files inside termux storage built using php. Thanks to Ging-dev for this attractive feature.
options
-f | --force-> reinstall file manager forcefully if you have any errors.
$ webzone settingsUse : Helps to configure ports and paths to be used for each commands.
$ webzone self-updateUse : Automatically updates webzone to latest version.
$ webzone composer:globalUse : Configure composer globally.
$ webzone create:codelighniter blog Use : Create a fresh new codelighniter project on default project root.
arguments
name-> Sets App/Project name.
options
--path(optional) -> Overides default app/project root to a custom root.
$ webzone create:laravel blog Use : Create a fresh new laravel project on default project root.
arguments
name-> Sets App/Project name.
options
--path(optional) -> Overides default app/project root to a custom root.
$ webzone create:symfony blog --type apiUse : Create a fresh new Symfony project on default project root.
arguments
name-> Sets App/Project name.
options
--path(optional) -> Overides default app/project root to a custom root.--type(optional) -> Sets application type. By default useswebas type. Expectsweborapi.
$ webzone create:zend blog Use : Create a fresh new zend project on default project root.
arguments
name-> Sets App/Project name.
options
--path(optional) -> Overides default app/project root to a custom root.
$ webzone create:nette blogUse : Create a fresh new nette project on default project root.
arguments
name-> Sets App/Project name.
options
--path(optional) -> Overides default app/project root to a custom root.
$ webzone create:lumen blogUse : Create a fresh new lumen project on default project root.
arguments
name-> Sets app/project name.
options
--path(optional) -> Overides default app/project root to a custom root.
$ webzone create:cakephp blogUse : Create a fresh new nette project on default project root.
arguments
name-> Sets app/project name.
options
--path(optional) -> Overides default app/project root to a custom root.
$ webzone create:yii blog --type=basicUse : Create a fresh new Yii project on default project root.
arguments
name-> Sets app/project name.
options
--path(optional) -> Overides default app/project root to a custom root.--type(optional) -> Sets application type. By default usesbasicas type. Expectsbasicoradvanced.
$ webzone create:sapper --name blog Use : Create a fresh new sapper project on default project root.
options
--name-> Set's sapper project name.--path(optional) -> Overides default app/project root to a custom root.
$ webzone install:mysqlUse : Install MySql Database (mariadb).
$ webzone install:pmaUse : Download and Install PhpMyAdmin latest version from server.
options
-fresh-> Remove existing PhpMyAdmin and install latest version from PhpMyAdmin website.
$ webzone installer:fixer Use : Install and configure php-cs-fixer globally. You can use php-cs-fixer -h for more details.
options
--uninstall-> Remove php-cs-fixer from device.
$ webzone installer:laravelUse : Install laravel-installer latest version from packagist.
options
--uninstall-> Remove laravel-installer globally.
$ webzone installer:phpstanUse : Install phpstan latest version from packagist.
options
--uninstall-> Remove phpstan globally.
$ webzone installer:symfonyUse : Install Symfony CLI from server.
$ webzone installer:wordpressUse : Install wordpress latest version from server.
options
-f|--force-> Reinstall wordpress from server.
Server Commands
$ webzone server:allUse : Enable Localhost, Pma, Mysql just in one command (BETA).
$ webzone server:devUse : Start localhost for development with the path set in settings. by default uses /sdcard/www.
options
--n-> Prevent opening browser after starting server.--port-> Overides default port (8080) set in settings.--path-> Overides default path (/sdcard/www) set in settings.
$ webzone server:mysqlUse : Start MySql database with the default port set in settings. by default uses /sdcard/www.
options
--port-> Overides default port (3306) set in settings.-s | --stop-> Kill all Mysql processes.
$ webzone server:pmaUse : Start PhpMyAdmin on default port (8000) in settings.
options
--n-> Prevent opening browser after starting server.--port-> Overides default port (8000) set in settings.
$ webzone server:wordpressUse : Start wordpress site on default port (7070) in settings.
options
--n-> Prevent opening browser after starting server.--port-> Overides default port (7070) set in settings.
$ webzone share:localhost.runUse : Connect a tunnel to your web appplication running on port 8080 (default)
options
--port-> Overides default port (8080).
$ webzone share:localhost.runUse : Connect a tunnel to your web appplication running on port 8080 (default)
options
--port-> Overides default port (8080).
$ webzone share:localhost.runUse : Connect a tunnel to your web appplication running on port 8080 (default)
options
--port-> Overides default port (8080).
$ webzone share:ngrokUse : ngrok provides a real-time web UI where you can introspect all HTTP traffic running over your tunnels. Replay any request against your tunnel with one click.
options
--port-> Overides ngrok port setting.-s | --stop-> Kill all Ngrok processes.
$ webzone share:torUse : Set up a website in the Onion/Tor network.
(NB: The developer of webzone will not be responsible for any misuses done by users.)
options
--reset-> Reset tor configuration.--port-> Set the port to be shared to tor Network
$ webzone project:listUse : Show all directories inside project root folder.
MIT. See LICENSE for more details.


