Skip to content

Romchik38/server

Repository files navigation

PHP Server for web app under php-fpm

phpstan phpstan: level 8 phpunit phpunit: partially status status: development

Features (v1.18.0)

  • Server
  • Router
  • Session
  • Views
    • abstract
    • page
    • twig (in progress site2)
  • Server Request (psr-7)
  • Response (psr-7)
  • Controller system
  • Sql
    • database ( PostgreSql)
    • repositories
      • repository ( 1 table )
      • entity ( EAV )
      • Virtual ( 2 and more tables )
  • Models and DTOs
  • Logger psr-3 ( with alternative logging )
    • Echo
    • Email
    • File
  • Mailer ( phpmail )
  • Sitemap system
  • multilanguage system
  • Urlbuilder

Examples

Examples shows how php-server works.

Site1

Site2

Coming soon. In progress.

  • multilanguage system
  • View based on twig

Code quality

  • phpstan level 8
    • passes[OK] No errors
  • phpunit
    • passesOK (175 tests, 328 assertions)
    • tested partially
  • laminas-coding-standard
    • passes66 / 66 (100%)

Docs

About

Php files to create a web app under php-fpm

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages