arnapou/simplesite
最新稳定版本:v9.0
Composer 安装命令:
composer create-project arnapou/simplesite
包简介
Project - Simple site system delivered as a standalone phar file.
README 文档
README
Links
Demo 👉️ https://simplesite.arnapou.net/
Article 👉️ https://arnapou.net/software/2019-phar-simplesite/
Phar file 👉️ bin/simplesite.phar
Docker
You can use the provided docker image directly.
Below is an example of a working docker compose file compose.yaml.
services:
app:
image: registry.gitlab.com/arnapou/project/simplesite:v9
user: 1000:1000
# For local testing / dev -> http://localhost
ports: [ "80:80" ]
environment:
# FrankenPHP environment variables
# ╰─ https://github.com/dunglas/frankenphp/blob/main/caddy/frankenphp/Caddyfile
CADDY_GLOBAL_OPTIONS: "auto_https off" # (default)
SERVER_NAME: ":80" # (default)
# SimpleSite environment variables
SIMPLESITE_ADMIN: "admin" # Base path of the admin GUI.
# ╰─ http://localhost/admin/
# Default: "" (empty means disabled).
# For HTTPS / Production -> https://my-domain.com
# ports: [ "443:443" ]
# environment:
# CADDY_GLOBAL_OPTIONS: ""
# SERVER_NAME: "my-domain.com"
# If you need to bind all in one
volumes:
- ./:/app
# If you need to bind only some folders
# volumes:
# - ./local_path:/app/data # where the data are stored for the {{ app.db }} service
# - ./local_path:/app/log # the rotating log files
# - ./local_path:/app/pages # the path used to define twig pages, bound to "@pages" scope
# - ./local_path:/app/public # the public path for assets, bound to "@public" scope
# - ./local_path:/app/src # where to write php "plugins"
# - ./local_path:/app/templates # the template path for twig, bound to "@templates
Web server
You can directly use our php image if you want something working out of the box :
registry.gitlab.com/arnapou/docker/php:8.5-frankenphp
We recommend
- FrankenPHP
- Caddy with php-fpm backend
If you want to use Apache, we suggest a .htaccess like this :
RewriteEngine On
DirectorySlash Off
FileETag MTime Size
Options -Indexes -MultiViews -ExecCGI +FollowSymLinks +SymLinksIfOwnerMatch
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule . index.php [L,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule . index.php [L,QSA]
Php versions
| Date | Ref | 8.5 | 8.4 | 8.3 | 8.2 | 8.1 | 8.0 | 7.2 |
|---|---|---|---|---|---|---|---|---|
| 29/12/2025 | 9.x, main | × | ||||||
| 10/12/2024 | 8.x | × | ||||||
| 25/11/2024 | 7.x | × | ||||||
| 26/11/2023 | 6.x | × | ||||||
| 11/10/2023 | 5.x | × | ||||||
| 19/12/2022 | 4.x | × | ||||||
| 30/01/2022 | 3.x | × | ||||||
| 15/05/2021 | 2.x | × | ||||||
| 07/12/2019 | 1.x | × |
统计信息
- 总下载量: 89
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-05-07