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/typephpor
Install via npx
npx @hexmos/ipm i swoole/typephpPrerequisites
PHP
runtimeVersion: 8.4 - 8.5
PHP CLI
runtimePHP development headers
runtimephp-config
runtimePHP embed library (libphp.so/dylib)
runtimeGCC
compilerVersion: 9+
CMake
build toolVersion: 3.24+
Composer
dependency managerVersion: 2
GMP
libraryMPFR
libraryManual Installation Methods
Manual installation instructions. How to install from GitHub source.
Install via Composer
composer require --dev swoole/typephp
vendor/bin/tpc.php project.ymlInstall from source
git clone https://github.com/swoole/typephp.git
cd typephp
composer install
php bin/tpc.php --helpBuild 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.zipBuild 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.gzBuild 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.gzBuild 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