/core

PHP Simple Fast & Secure

Primary LanguagePHPMIT LicenseMIT

PSFS

Build Status Latest Stable Version Total Downloads Scrutinizer Code Quality Code Coverage

Framework Php Simple Fast & Secure

Requirements:

  • php 8.2+
  • ext-gettext
  • ext-json
  • ext-curl
  • ext-gmp
  • ext-fileinfo

Components that PSFS install:

"propel/propel": "2.0.0-beta2",
"symfony/console": "v6.x",
"symfony/finder": "v6.x",
"symfony/translation": "v6.x",
"twig/twig": "3.6.0",
"monolog/monolog": "3.x",
"matthiasmullie/minify": "1.3.70"

How to install using composer:

Install composer via: GetComposer

composer require psfs/core
./vendor/bin/psfs psfs:create:root
php -S 0.0.0.0:8080 -t ./html

How to use with Docker

docker-compose up .

Your could use some environment variables to manage the docker containers

- APP_ENVIRONMENT: (local|dev|...|prod) Define the staging for the run environment
- HOST_PORT: 8001 Define the port where you could expose the server

RoadMap:

* Framework documentation
    - PhpDoc for all files
* Testing
    - 100% tests coverage