Download the PHP package marcel-maqsood/mezzio-abstract-request-handler without Composer
On this page you can find all versions of the php package marcel-maqsood/mezzio-abstract-request-handler. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download marcel-maqsood/mezzio-abstract-request-handler
More information about marcel-maqsood/mezzio-abstract-request-handler
Files in marcel-maqsood/mezzio-abstract-request-handler
Package mezzio-abstract-request-handler
Short Description The AbstractRequestHandler is a abstract RequestHandler that contaisn additional functions to be used in a Laminas/Mezzio application
License MIT
Homepage https://github.com/marcel-maqsood/Mezzio-Abstract-Request-Handler
Informations about the package mezzio-abstract-request-handler
Mezzio-Abstract-Request-Handler
You can install this package with the following command:
Configuration
Within RequestHandlers that extends our AbstractRequestHandler, You have to pass atleast a TemplateRenderer; For advanced functions like generateInsertArray, you need to submit arrays that contain your table config, otherwise these functions wont do anything.
persistentpdo - An array, in which we define our database-connection rules:
See MazeDEV/Marcel-Maqsood(https://github.com/marcel-maqsood/DatabaseConnector) for additional informations and documentation. Our SessionAuthMiddleware uses this DatabaseConnector and therefore requires its configuration set. Within our default config, we already supply these settings and you just have to adjust them. Also, PersistentPDO must be included within your applications as it is required for our AbstractRequestHandler. We already included it within our .
sql log display
When using our AbstractRequestHandler, the handler will pass the attribute "sqlLog" into each template that it renders, making it easy to view which sql statements happened within the rendering.
Credits
This Software has been developed by MazeDEV/Marcel-Maqsood(https://github.com/marcel-maqsood).
License
The MIT License (MIT). Please see License File for more information.
All versions of mezzio-abstract-request-handler with dependencies
psr/container Version ^1.0
mezzio/mezzio-router Version ^3.17
marcel-maqsood/database-connector Version ^1.0
laminas/laminas-diactoros Version ^3.3