Libraries tagged by webservco
webservco/log
1133 Downloads
A PHP component/library. PSR-3 logger that writes one file per channel per day and stores each message's context in its own file.
webservco/http-request-service
477 Downloads
A PHP component/library. Helpers for reading the method, body, headers, Accept list and route parts of a request.
webservco/http
579 Downloads
A PHP component/library. Minimal implementation of the PSR-7 HTTP message interfaces and the PSR-17 factories.
webservco/file
549 Downloads
A PHP component/library. File value objects, reading and writing files, CSV creation and reading, ZIP creation, and PSR-7 responses for sending a file to the browser.
webservco/exception
610 Downloads
A PHP component/library. Exception handlers that log the exception, for both caught exceptions and the ones nothing else catches.
webservco/error
590 Downloads
A PHP component/library. PHP error handling for an application, with a default handler that turns every PHP error into an ErrorException.
webservco/database-legacy
713 Downloads
A PHP component/library. Static mysqli helper for moving old ext/mysql code to PHP 8 without rewriting it.
webservco/database
899 Downloads
A PHP component/library. PDO for MySQL and MariaDB, with a connection that opens on first use, query helpers and transactions.
webservco/data
1153 Downloads
A PHP component/library. Data transfer objects, and services that pull typed values, lists and maps out of mixed data such as request bodies, sessions and database rows.
webservco/configuration-legacy
758 Downloads
A PHP component/library. Static configuration helper for legacy procedural code that can't easily receive objects.
webservco/configuration
1404 Downloads
A PHP component/library. Loads configuration from an INI or PHP file and gives typed access to the values anywhere in the application.
webservco/command
401 Downloads
A PHP component/library. Helpers for command line scripts, including an option parser, output that also goes to the log, and a counter for processed items.
webservco/coding-standards
2686 Downloads
A collection of coding standards and configuration files. Shared, opinionated configuration for PHP_CodeSniffer, PHPStan, Psalm, Phan, PHPMD and PHPUnit, based on PSR-12 and Slevomat Coding Standard.
webservco/view
165 Downloads
A PHP component/library. Views, PHP templates and renderers that turn a view into HTML, JSON or JSON:API.
webservco/stopwatch
222 Downloads
A PHP component/library. Lap timer for measuring how long each part of a request or script takes.