phpo
官方授权xiaokentrl专有
Local PHP development environments on Docker, with several PHP, database and Nginx versions side by side
已复制!粘贴到终端并按回车即可安装。





关于
This is a community package of phpo, maintained by FlatPark at the request of phpo's developer. It repackages the official upstream Linux build unmodified. phpo does not yet publish a license; until it does, the upstream README states that all rights are reserved.
phpo is a GUI-only manager for local PHP development environments built on Docker. Each service version runs as its own container, so projects that need different PHP or database versions work at the same time without reconfiguring anything.
- Install PHP, MySQL, PostgreSQL, Redis and Nginx in several versions at once, and switch a site's PHP version from a drop-down.
- Pick PHP extensions from a per-version catalog when installing, with the build log streamed live.
- Edit each site's Nginx vhost directly; changes are checked with nginx -t and rolled back if they fail.
- Rewrite presets for Laravel, ThinkPHP, Yii2, Symfony, WordPress and others.
- Offline cache for images and extension sources, plus backups with logical database dumps.
Requirements and permissions: phpo needs a running Docker daemon on the host. This package can reach the rootful socket at /run/docker.sock and the rootless socket at $XDG_RUNTIME_DIR/docker.sock. Access to the Docker socket is equivalent to root on the host, so the sandbox does not contain what phpo does through Docker. It also has network access, and read-write access to phpo's default data root ~/phpo and site root ~/www, created on first run. Docker bind-mounts these paths into the containers, so they must be visible at the same path inside the sandbox.
If you move either root in Settings, grant the new location, for example flatpak override --user --filesystem=~/code io.github.xiaokentrl.phpo. To use Podman or another endpoint, point phpo at it, for example flatpak override --user --filesystem=xdg-run/podman --env=DOCKER_HOST=unix:///run/user/1000/podman/podman.sock io.github.xiaokentrl.phpo (replace 1000 with your user id). Adding a site to /etc/hosts needs pkexec, which is not available inside the sandbox, so add the entry to /etc/hosts yourself. Updates are delivered by Flatpak; the in-app updater cannot replace the read-only install.
详情
权限
5 项需确认网络访问
可访问互联网和本地网络
文件:/run/docker.sock
文件:xdg-run/docker.sock
文件:~/phpo:create
文件:~/www:create
进程间通信
与主机共享 IPC 命名空间
X11(回退)
与 org.kde.StatusNotifierWatcher 通信
Wayland 显示
GPU 加速
打包方式
隔离降低关闭了应用自带的沙箱
WebKit 自带的网页进程沙箱被关闭(WEBKIT_DISABLE_SANDBOX):应用的 Wails 运行时注册的名字被 Flatpak portal 拒绝,带沙箱的网页进程起不来。Flatpak 沙箱仍然有效。