Skip to content

Romchik38/server

Repository files navigation

PHP Server for web app under php-fpm

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

Features (v1.29.2)

  • Http routing based on PSR-7 Server Request and Response
    • Server
    • Router
    • Views
      • abstract
      • page
    • Controller system
      • actions
      • middlewares
      • mappers:
        • Sitemap
        • Breadcrumbs
        • LinkTree
    • Utils:
      • Urlbuilder
      • Session
  • 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 )
  • Multilanguage system
  • Domain Value Objects

Code quality

  • phpstan level 8
    • passes[OK] No errors
  • phpunit
    • passesOK (230 tests, 389 assertions)
    • tested partially
  • laminas-coding-standard
    • passes79 / 79 (100%)

Docs

Projects that use this product

The php-server was used in the following projects:

  • Site1
  • Site2

Site1

Site1 is a simple website — that demonstrates a multi-page site with a login system, a sitemap, Google reCAPTCHA, and email-based password recovery. See source code on github page.

Also available Live Site1 preview.

Site2

Site2 is a more complex version of the site1 with more functionality. It demonstrates a multilanguage system, twig view, Image Converter and other features. See source code on github page.

Also available Live Site2 preview.

About

Php files to create a web app under php-fpm

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages