{"id":13723219,"url":"https://github.com/albinvar/termux-webzone","last_synced_at":"2025-04-28T12:04:32.854Z","repository":{"id":43762385,"uuid":"349004268","full_name":"albinvar/termux-webzone","owner":"albinvar","description":"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.","archived":false,"fork":false,"pushed_at":"2022-05-07T16:16:49.000Z","size":40849,"stargazers_count":33,"open_issues_count":2,"forks_count":3,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-28T12:04:17.979Z","etag":null,"topics":["cli","hacktoberfest","hacktoberfest-accepted","hactorberfest2023","laravel-zero","termux","termux-tool","termux-webzone","web-development-tools"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/albinvar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-03-18T08:58:33.000Z","updated_at":"2025-03-05T23:50:36.000Z","dependencies_parsed_at":"2022-08-21T02:10:26.691Z","dependency_job_id":null,"html_url":"https://github.com/albinvar/termux-webzone","commit_stats":null,"previous_names":[],"tags_count":26,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/albinvar%2Ftermux-webzone","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/albinvar%2Ftermux-webzone/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/albinvar%2Ftermux-webzone/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/albinvar%2Ftermux-webzone/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/albinvar","download_url":"https://codeload.github.com/albinvar/termux-webzone/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251311330,"owners_count":21569009,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","hacktoberfest","hacktoberfest-accepted","hactorberfest2023","laravel-zero","termux","termux-tool","termux-webzone","web-development-tools"],"created_at":"2024-08-03T01:01:37.314Z","updated_at":"2025-04-28T12:04:32.829Z","avatar_url":"https://github.com/albinvar.png","language":"PHP","funding_links":[],"categories":["Projects using Laravel Zero"],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e Termux Webzone \u003c/h1\u003e \n\u003cp align=\"center\"\u003e\n    \u003cimg title=\"Laravel Zero\" height=\"100\" src=\"https://i.ibb.co/PMrx8jJ/d5651c2b-0efb-45fe-81b7-a4d4d97af732.png\"\u003e\u003cbr\u003e\n\u003cbr\u003e\n\u003cimg src=\"https://img.shields.io/packagist/v/albinvar/termux-webzone?label=version\"\u003e\n\u003cimg src=\"https://poser.pugx.org/albinvar/termux-webzone/downloads\"\u003e\n\u003ca href=\"https://github.com/albinvar/termux-webzone/actions/workflows/php.yml\"\u003e\u003cimg src=\"https://github.com/albinvar/termux-webzone/actions/workflows/php.yml/badge.svg\"\u003e\u003c/a\u003e\n\u003cimg src=\"https://img.shields.io/github/repo-size/albinvar/termux-webzone\"\u003e\n\u003ca href=\"LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/apm/l/Github\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cpre\u003e\n _    _      _       ______                 \n| |  | |    | |     |___  /                 \n| |  | | ___| |__      / /  ___  _ __   ___ \n| |/\\| |/ _ \\ '_ \\    / /  / _ \\| '_ \\ / _ \\\n\\  /\\  /  __/ |_) | ./ /__| (_) | | | |  __/\n \\/  \\/ \\___|_.__/  \\_____/\\___/|_| |_|\\___|\n                                            \n                                            \n\u003c/pre\u003e\n\n## Table of Contents\n\n- [Introduction](#introduction)\n- [Installation](#installation)\n- [Features](#features)\n- [Screenshots](#screenshots)\n- [Commands](#commands)\n- [Contributing](#contributing)\n- [License](#license)\n\n## Introduction\n\nTermux 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.\nThe application is designed only to work with \u003ca href=\"https://play.google.com/store/apps/details?id=com.termux\" target=\"_blank\"\u003eTermux\u003c/a\u003e.\n\n## Requirements\n- php 7.3+\n- curl\n- termux\n\n## Installation\n\n### Basics\nBasically, we need to update and upgrade our packages first. After that we will install php and setup permission to use storage.\n\n```bash\npkg update -y\npkg upgrade -y\npkg install php wget -y\ntermux-setup-storage\n```\n\n### Using wget\nRun the command and the script will take care of the rest. \n```bash\nwget https://raw.githubusercontent.com/albinvar/webzone-api/main/installer/installer.php -O - | php\n```\n\n## Using curl\nRun the command and the script will take care of the rest. \n```bash\ncurl -s https://raw.githubusercontent.com/albinvar/webzone-api/main/installer/installer.php | php\n```\n\n### Using composer\nRemember, installing with composer requires each and every libraries should be downloaded first.\n\n```php\ncomposer global require albinvar/termux-webzone \n```\n\n### Manual installation\n- Download the script from [here](https://raw.githubusercontent.com/albinvar/webzone-api/main/installer/installer.php).\n- Execute the file using php.\n```php\nphp installer.php\n```\n\n- You can also install via composer by adding the flag `-c` or `--composer`.\n```php\nphp installer.php --composer\n```\n\n## Updation\n\nYou can update webzone simply using the inbuilt command.\n\n```bash\nwebzone self-update\n```\n\nOr if you have installed via composer, use\n\n```bash\ncomposer global update albinvar/termux-webzone\n```\n\nAdditionaly, old users needs to regenerate settings using the command ```webzone settings:init -f``` for any major updates.\n\n## Features\n\n- Install PhpMyAdmin\n- Create Wordpress site\n- Create Development server\n- Configure composer globally\n- Create almost 4+ php framework projects.\n- Create onion sites (tor)\n- Portforwading through Ngrok\n- Portforwading through Localhost.run\n- Settings option to configure everything.\n- More features coming soon...\n\n## Screenshots\n\n|Installer|Webzone CLI|\n|--|--|\n|![desktop](https://i.ibb.co/7Yv6YfX/IMG-20210330-231901.jpg)|![desktop](https://i.ibb.co/nRVHtgw/IMG-20210330-231922.jpg)|\n\n## Commands\n\nThe following commands are available in our tool. You can use the individual crafting routines which are similar to the Artisan commands.\n\n##### basics Commands\n-   about\n-   manager\n-   settings\n-   self-update\n\n##### Installable packages\n-   install:mysql\n-   install:pma\n\n##### Create Commands\n-   create:codelighniter\n-   create:laravel\n-   create:nette\n-   create:symfony\n-   create:sapper\n-   create:zend\n\n##### Installer Commands\n-   installer:laravel\n-   installer:symfony\n-   installer:fixer\n-   installer:phpstan\n-   installer:wordpress\n\n##### Server Commands\n-   server:all\n-   server:dev\n-   server:pma\n-   server:mysql\n-   server:wordpress\n\n##### Port-forwarding Commands\n-   share:localhost.run\n-   share:ngrok\n-   share:tor\n\n##### Others\n-   composer:global\n-   project:list (Beta)\n\n## Available Commands\n\nYou can use this Commands specifically builded for each features.\n\n## Basic Commands\n\n### manager\n```bash\n$ webzone manager \n```\n\n**Use** : An interactive web interface for managing files inside termux storage built using php. Thanks to [Ging-dev](https://github.com/ging-dev) for this attractive feature.\n\n`options`\n- `-f | --force` -\u003e reinstall file manager forcefully if you have any errors.\n\n\u003chr\u003e\n\n### settings\n```bash\n$ webzone settings\n```\n**Use** : Helps to configure ports and paths to be used for each commands. \n\n\u003chr\u003e\n\n### self-update\n```bash\n$ webzone self-update\n```\n**Use** : Automatically updates webzone to latest version.\n\u003chr\u003e\n\n### composer:global\n```bash\n$ webzone composer:global\n```\n**Use** : Configure composer globally. \n\u003chr\u003e\n\n## Create Commands\n\n### create:codelighniter\n```bash\n$ webzone create:codelighniter blog \n```\n**Use** : Create a fresh new codelighniter project on default project root.\n\n`arguments`\n- `name` -\u003e Sets App/Project name.\n\n`options`\n- `--path` _(optional)_ -\u003e Overides default app/project root to a custom root.\n\u003chr\u003e\n\n### create:laravel\n```bash\n$ webzone create:laravel blog \n```\n**Use** : Create a fresh new laravel project on default project root.\n\n`arguments`\n- `name` -\u003e Sets App/Project name.\n\n`options`\n- `--path`_(optional)_ -\u003e Overides default app/project root to a custom root.\n\u003chr\u003e\n\n### create:symfony\n```bash\n$ webzone create:symfony blog --type api\n```\n**Use** : Create a fresh new Symfony project on default project root.\n\n`arguments`\n- `name` -\u003e Sets App/Project name.\n\n`options`\n- `--path` _(optional)_ -\u003e Overides default app/project root to a custom root.\n- `--type` _(optional)_ -\u003e Sets application type. By default uses `web` as type. Expects `web` or `api`. \n\u003chr\u003e\n\n### create:zend\n```bash\n$ webzone create:zend blog \n```\n**Use** : Create a fresh new zend project on default project root.\n\n`arguments`\n- `name` -\u003e Sets App/Project name.\n\n`options`\n- `--path` _(optional)_ -\u003e Overides default app/project root to a custom root.\n\u003chr\u003e\n\n### create:nette\n```bash\n$ webzone create:nette blog\n```\n**Use** : Create a fresh new nette project on default project root.\n\n`arguments`\n- `name` -\u003e Sets App/Project name.\n\n`options`\n- `--path` _(optional)_ -\u003e Overides default app/project root to a custom root.\n\u003chr\u003e\n\n### create:lumen\n```bash\n$ webzone create:lumen blog\n```\n**Use** : Create a fresh new lumen project on default project root.\n\n`arguments`\n- `name` -\u003e Sets app/project name.\n\n`options`\n- `--path` _(optional)_ -\u003e Overides default app/project root to a custom root.\n\u003chr\u003e\n\n### create:cakephp\n```bash\n$ webzone create:cakephp blog\n```\n**Use** : Create a fresh new nette project on default project root.\n\n`arguments`\n- `name` -\u003e Sets app/project name.\n\n`options`\n- `--path` _(optional)_ -\u003e Overides default app/project root to a custom root.\n\n\u003chr\u003e\n\n### create:yii\n```bash\n$ webzone create:yii blog --type=basic\n```\n**Use** : Create a fresh new Yii project on default project root.\n\n`arguments`\n- `name` -\u003e Sets app/project name.\n\n`options`\n- `--path` _(optional)_ -\u003e Overides default app/project root to a custom root.\n- `--type` _(optional)_ -\u003e Sets application type. By default uses `basic` as type. Expects `basic` or `advanced`.  \n\u003chr\u003e\n\n### create:sapper\n```bash\n$ webzone create:sapper --name blog \n```\n**Use** : Create a fresh new sapper project on default project root.\n\n\n`options`\n- `--name` -\u003e Set's sapper project name.\n- `--path`_(optional)_ -\u003e Overides default app/project root to a custom root.\n\u003chr\u003e\n\n\n## Installable packages\n\n### install:mysql\n```bash\n$ webzone install:mysql\n```\n**Use** : Install MySql Database (mariadb).\n\n\u003chr\u003e\n\n### install:pma\n```bash\n$ webzone install:pma\n```\n**Use** : Download and Install PhpMyAdmin latest version from server.\n\n`options`\n- `-fresh` -\u003e  Remove existing PhpMyAdmin and install latest version from PhpMyAdmin website.\n\u003chr\u003e\n\n\n## Installer Commands\n\n### installer:fixer\n```bash\n$ webzone installer:fixer \n```\n**Use** : Install and configure php-cs-fixer globally. You can use `php-cs-fixer -h` for more details.\n\n`options`\n- `--uninstall` -\u003e Remove php-cs-fixer from device.\n\u003chr\u003e\n\n### installer:laravel\n```bash\n$ webzone installer:laravel\n```\n**Use** : Install laravel-installer latest version from packagist.\n\n`options`\n- `--uninstall` -\u003e  Remove laravel-installer globally.\n\u003chr\u003e\n\n### installer:phpstan\n```bash\n$ webzone installer:phpstan\n```\n**Use** : Install phpstan latest version from packagist.\n\n`options`\n- `--uninstall` -\u003e  Remove phpstan globally.\n\u003chr\u003e\n\n### installer:symfony\n```bash\n$ webzone installer:symfony\n```\n**Use** : Install Symfony CLI from server.\n\n\u003chr\u003e\n\n### installer:wordpress\n```bash\n$ webzone installer:wordpress\n```\n**Use** : Install wordpress latest version from server.\n\n`options`\n- `-f|--force` -\u003e  Reinstall wordpress from server.\n\u003chr\u003e\n\nServer Commands\n\n### server:all\n```bash\n$ webzone server:all\n```\n**Use** : Enable Localhost, Pma, Mysql just in one command (BETA).\n\n\u003chr\u003e\n\n### server:dev\n```bash\n$ webzone server:dev\n```\n**Use** : Start localhost for development with the path set in settings. by default uses _/sdcard/www_.\n\n`options`\n- `--n` -\u003e Prevent opening browser after starting server.\n- `--port` -\u003e  Overides default port (8080) set in settings. \n- `--path` -\u003e  Overides default path (/sdcard/www) set in settings. \n\u003chr\u003e\n\n### server:mysql\n```bash\n$ webzone server:mysql\n```\n**Use** : Start MySql database  with the default port set in settings. by default uses _/sdcard/www_.\n\n`options`\n- `--port` -\u003e  Overides default port (3306) set in settings. \n- `-s | --stop` -\u003e  Kill all Mysql processes. \n\u003chr\u003e\n\n### server:pma\n```bash\n$ webzone server:pma\n```\n**Use** : Start PhpMyAdmin on default port (8000) in settings.\n\n`options`\n- `--n` -\u003e Prevent opening browser after starting server.\n- `--port` -\u003e  Overides default port (8000) set in settings. \n\u003chr\u003e\n\n### server:wordpress\n```bash\n$ webzone server:wordpress\n```\n**Use** : Start wordpress site on default port (7070) in settings.\n\n`options`\n- `--n` -\u003e Prevent opening browser after starting server.\n- `--port` -\u003e  Overides default port (7070) set in settings. \n\u003chr\u003e\n\n##### Port-forwarding Commands\n\n### share:localhost.run\n```bash\n$ webzone share:localhost.run\n```\n**Use** : Connect a tunnel to your web appplication running on port 8080 (default) \n\n`options`\n- `--port` -\u003e  Overides default port (8080). \n\u003chr\u003e\n\n### share:localhost.run\n```bash\n$ webzone share:localhost.run\n```\n**Use** : Connect a tunnel to your web appplication running on port 8080 (default) \n\n`options`\n- `--port` -\u003e  Overides default port (8080). \n\u003chr\u003e\n\n### share:localhost.run\n```bash\n$ webzone share:localhost.run\n```\n**Use** : Connect a tunnel to your web appplication running on port 8080 (default) \n\n`options`\n- `--port` -\u003e  Overides default port (8080). \n\u003chr\u003e\n\n### share:ngrok\n```bash\n$ webzone share:ngrok\n```\n**Use** : 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.\n\n`options`\n- `--port` -\u003e  Overides ngrok port setting.\n- `-s | --stop` -\u003e  Kill all Ngrok processes. \n\u003chr\u003e\n\n### share:tor\n```bash\n$ webzone share:tor\n```\n**Use** :  Set up a website in the Onion/Tor network.\n\n_(**NB**: The developer of webzone will not be responsible for any misuses done by users.)_ \n\n`options`\n- `--reset` -\u003e  Reset tor configuration.\n- `--port` -\u003e  Set the port to be shared to tor Network\n\u003chr\u003e\n\n### project:list (beta)\n```bash\n$ webzone project:list\n```\n**Use** :  Show all directories inside project root folder.\n\n\u003chr\u003e\n\n## Credits\n\n[@albinvar](https://github.com/albinvar)\n[@shmshd](https://github.com/shmshd)\n\n## Contributing\n\n## License\nMIT. See [LICENSE](LICENSE) for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falbinvar%2Ftermux-webzone","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falbinvar%2Ftermux-webzone","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falbinvar%2Ftermux-webzone/lists"}