psfs / core
PHP 简单、快速、安全
2.0.1
2023-12-11 23:14 UTC
Requires
- php: ^8.2
- ext-curl: *
- ext-fileinfo: *
- ext-gettext: *
- ext-gmp: *
- ext-json: *
- matthiasmullie/minify: 1.3.71
- monolog/monolog: 2.x
- propel/propel: ~2.0@beta
- symfony/console: v5.x
- symfony/finder: v5.x
- symfony/translation: v5.x
- twig/twig: v3.7.1
Requires (Dev)
- phpunit/phpunit: 10.5.x-dev
- roave/security-advisories: dev-master
This package is auto-updated.
Last update: 2024-09-15 10:22:46 UTC
README
框架 PHP 简单、快速、安全
要求
- php 8.0+
- ext-gettext
- ext-json
- ext-curl
- ext-gmp
- ext-fileinfo
PSFS 安装的组件
"propel/propel": "2.0.x-dev",
"symfony/console": "v6.x",
"symfony/finder": "v6.x",
"symfony/translation": "v6.x",
"twig/twig": "3.8.0",
"monolog/monolog": "3.x",
"matthiasmullie/minify": "1.3.71"
如何使用 composer 安装
通过以下方式安装 composer: GetComposer
composer require psfs/core
./vendor/bin/psfs psfs:create:root
php -S 0.0.0.0:8080 -t ./html
如何与 Docker 一起使用
docker-compose up .
你可以使用一些环境变量来管理 docker 容器
- APP_ENVIRONMENT: (local|dev|...|prod) Define the staging for the run environment
- HOST_PORT: 8001 Define the port where you could expose the server
- DEBUG: -xdebug Loads a docker image with xdebug installed and configured, if empty it loads a default php image
路线图
* Framework documentation
- PhpDoc for all files
* Testing
- 100% tests coverage