Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview
How to install swoole/typephp. Official installation instructions. Project installation guide. Framework or library installation. Build installation instructions. How to setup and install from GitHub. Installation steps and setup instructions. Official docs and installation instructions GitHub.

swoole/typephp Installation Guide

How to install swoole/typephp. Official project installation instructions and setup guide.

Automated Install (Recommended)

Quick installation instructions for swoole/typephp. This is the fastest way to complete project installation and setup.

Install via curl

curl -fsSL https://hexmos.com/ipm-install | bash && 
ipm i swoole/typephp
or

Install via npx

npx @hexmos/ipm i swoole/typephp

Prerequisites

PHP

runtime

Version: 8.4 - 8.5

PHP CLI

runtime

PHP development headers

runtime

php-config

runtime

PHP embed library (libphp.so/dylib)

runtime

GCC

compiler

Version: 9+

CMake

build tool

Version: 3.24+

Composer

dependency manager

Version: 2

GMP

library

MPFR

library

Manual Installation Methods

Manual installation instructions. How to install from GitHub source.

Install via Composer

composer require --dev swoole/typephp

vendor/bin/tpc.php project.yml

Install from source

git clone https://github.com/swoole/typephp.git

cd typephp

composer install

php bin/tpc.php --help

Build Windows x64 Release Asset

curl -LO https://github.com/swoole/typephp/releases/download/v0.6.6/tpc_v0.6.6_windows_x64.zip

unzip tpc_v0.6.6_windows_x64.zip

Build Linux x64 Release Asset

curl -LO https://github.com/swoole/typephp/releases/download/v0.6.6/tpc_v0.6.6_linux_x64.tar.gz

tar -xzf tpc_v0.6.6_linux_x64.tar.gz

Build Linux ARM64 Release Asset

curl -LO https://github.com/swoole/typephp/releases/download/v0.6.6/tpc_v0.6.6_linux_arm64.tar.gz

tar -xzf tpc_v0.6.6_linux_arm64.tar.gz

Build macOS ARM64 Release Asset

curl -LO https://github.com/swoole/typephp/releases/download/v0.6.6/tpc_v0.6.6_macos_arm64.tar.gz

tar -xzf tpc_v0.6.6_macos_arm64.tar.gz