Skip to content

v2.0.1

Latest

Choose a tag to compare

@Marqitos Marqitos released this 10 Jan 16:28
· 8 commits to v2 since this release

PSR and FIG packages, with PHP 8.4 syntax, and scaffolding autoload

Minimum PHP version required: v8.4.

This library has some modifications compared to the original, and with a different namespace, adapted to the new features of PHP 8.4:

  • Properties ->value instead of ->getValue().
  • BackedEnums instead of lists of constants.
  • Strict types when possible

This package includes the following PSR libraries and modifications:

src/             
├── Psr              (Psr\ namespace)
│   └── Clock/       (psr/clock)
└── Rodas/Psr        (Rodas\Psr\ namespace)
    ├── Http/
    │   ├── Client/  (rodas/psr-http-client)
    │   └── Message/ (rodas/psr-http-message)
    └── Log/         (rodas/psr-log)

Changelog

  • StatusCode - Add standard HTTP status code/reason phrases to StatusCode
  • RequestMethod - Add additional HTTP methods
  • Adds a Fallback Logger
    Rodas\Psr\Log\FallbackLogger

Full Changelog: v2.0.0...v2.0.1