Oihana PHP System

traits

Table of Contents

Namespaces

prepare

Traits

ApiTrait
Trait providing helpers to manage the application instance and generate URLs.
AppTrait
Trait providing helpers to manage the application instance and generate URLs.
ArchiveTrait
Provides helpers to bundle files into an archive (tar/zip) and stream it as a PSR-7 download response, and to extract incoming archives back to disk.
BaseUrlTrait
Provides helper methods for managing the application's base URL.
BenchTrait
CborTrait
Provides utility methods for managing Cbor encoding options and creating standardized JSON HTTP responses within controllers.
CheckOwnerArgumentsTrait
Utilities to validate "owner" arguments against Documents models.
ConditionalRequestTrait
Serves a file as a PSR-7 response with HTTP conditional-request support (`ETag` / `Last-Modified` validators and the `304 Not Modified` short-circuit).
CsrfTrait
Trait exposing the CSRF token to controllers and templates.
FileEncryptionTrait
Provides helpers to encrypt/decrypt files and stream them as PSR-7 download responses, delegating the cryptography to a configured `oihana\files\openssl\OpenSSLFileEncryption`.
FileTrait
ForceDocumentUrlTrait
HttpCacheTrait
Trait providing helpers to manage HTTP caching in controllers.
ImageTrait
JsonTrait
Provides utility methods for managing JSON encoding options and creating standardized JSON HTTP responses within controllers.
LanguagesTrait
Trait LanguagesTrait
LimitTrait
The limit/offset trait.
MockTrait
OutputDocumentsTrait
Provides a standardized way to output documents from controllers.
PaginationTrait
Trait providing helpers to manage the application/api pagination settings.
ParamsStrategyTrait
Provides a property to retrieve params in the Http request parameters or body.
ParamsTrait
PathTrait
PrepareParamTrait
RangeTrait
Serves a file as a PSR-7 response with HTTP byte-range support (seekable downloads, media streaming).
RedirectsTrait
RouterTrait
Provides helper methods to manage the application's router and base URL.
SortAfterTrait
StatusTrait
Provides standardized methods for outputting HTTP status messages and JSON responses.
TwigTrait
Provides seamless integration of the **Twig** templating engine into controllers using the **Slim Framework**.
UploadTrait
Provides helpers to receive PSR-7 file uploads, validate them and store them on disk.
ValidatorTrait
Provides helper methods for validation and error handling within a controller.
On this page

Search results