Search by

Packages from webservco · Transparency log

  • PHP

    webservco/api

    A PHP library for webservco/framework. Base classes for building JSON:API endpoints and for reading responses from third-party APIs.

  • PHP

    webservco/application

    A PHP component/library. Interfaces for the application lifecycle (bootstrap, run, shutdown) and for the runner that does the work.

  • PHP

    webservco/application-default

    A PHP component/library. Default application implementation, with factories for web and command line applications.

  • PHP

    webservco/application-runner

    A PHP component/library. Runs a PSR-15 request handler for the current request and sends the response to the client.

  • PHP

    webservco/coding-standards

    Custom, opinionated coding standards based on PSR12 and SlevomatCodingStandard.

  • PHP

    webservco/command

    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.

  • Dockerfile

    webservco/component-common

    Common dependencies for component projects.

  • PHP

    webservco/configuration

    A PHP component/library. Loads configuration from an INI or PHP file and gives typed access to the values anywhere in the application.

  • PHP

    webservco/configuration-legacy

    A PHP component/library. Static configuration helper for legacy procedural code that can't easily receive objects.

  • PHP

    webservco/constant-value-class

    A PHP library. Type-checked constants for PHP 7: a class whose only instances are its own constant values, so it can stand in for an enum.

  • PHP

    webservco/controller

    A PHP component/library. Base controllers, and the instantiator that creates the right controller for a route along with its module's dependencies.

  • PHP

    webservco/data

    A PHP component/library. Data transfer objects, and services that pull typed values out of mixed data such as request bodies, sessions and database rows.

  • PHP

    webservco/data-transfer

    A PHP component/library.

  • PHP

    webservco/database

    A PHP component/library. PDO for MySQL and MariaDB, with a connection that opens on first use, query helpers and transactions.

  • PHP

    webservco/database-legacy

    A PHP component/library. Static mysqli helper for moving old ext/mysql code to PHP 8 without rewriting it.

  • PHP

    webservco/dependency-container

    A PHP component/library. Hand-wired containers that create the application's shared services when they're first needed.

  • PHP

    webservco/discogs-api

    A PHP library for webservco/framework. Client for the Discogs API, with authentication, rate limiting and error handling built in.

  • PHP

    webservco/discogs-auth

    A PHP library for webservco/framework. Builds the Authorization header for each Discogs authentication type: app key, personal access token and OAuth.

  • PHP

    webservco/discogs-data

    A PHP library for webservco/framework. Streams the compressed Discogs monthly data dumps (artists, labels, masters, releases) and passes each XML item to a processor.

  • PHP

    webservco/document-object-model

    A PHP component/library. Typed helpers around PHP's DOM classes, for parsing XML and HTML without an instanceof check after every XPath query.

  • PHP

    webservco/emitter

    A PHP component/library. Sends a PSR-7 response to the client, with its status line, headers and body.

  • PHP

    webservco/environment

    A PHP component/library. Names for the environments an application runs in: development, testing, staging and production.

  • PHP

    webservco/error

    A PHP component/library. PHP error handling for an application, with a default handler that turns every PHP error into an ErrorException.

  • PHP

    webservco/exception

    A PHP component/library. Exception handlers that log the exception, for both caught exceptions and the ones nothing else catches.

  • PHP

    webservco/file

    A PHP component/library. File value objects, plus CSV and ZIP creation and PSR-7 responses for sending a file to the browser.

  • PHP

    webservco/form

    A PHP component/library. HTML forms with filters and validators, and error messages for both the form and each field.

  • PHP

    webservco/framework

    A PHP Framework

  • PHP

    webservco/http

    A PHP component/library. Minimal implementation of the PSR-7 HTTP message interfaces and the PSR-17 factories.

  • PHP

    webservco/http-client

    A PHP component/library. PSR-18 HTTP client built on cURL, plus a client that sends several requests in parallel.

  • PHP

    webservco/http-request-handler

    A PHP component/library. PSR-15 request handlers, including a middleware stack, base handlers that pass a route to its controller, and a handler that renders error pages.

  • PHP

    webservco/http-request-service

    A PHP component/library. Helpers for reading the method, body, headers, Accept list and route parts of a request.

  • PHP

    webservco/http-response-service

    A PHP component/library. List of HTTP status codes, with a validator for them.

  • PHP

    webservco/icarsoft

    A PHP library. Parses the text log files saved by iCarsoft car diagnostic tools into arrays: header, title, info, and either the module information or the live data frames.

  • PHP

    webservco/jsonapi

    A PHP component/library. Interfaces for building JSON:API documents, plus the jsonapi member object.

  • PHP

    webservco/jsonapi-application

    A PHP component/library. Request validation, document views, error objects and containers for JSON:API endpoints.

  • PHP

    webservco/jwt

    A PHP component/library. Decodes and verifies an HS256 JSON Web Token and returns its issuer and subject.

  • PHP

    webservco/log

    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.

  • PHP

    webservco/mail

    A PHP component/library. Saves outgoing emails in a database table and sends them later from a scheduled job using PHPMailer.

  • PHP

    webservco/memory

    A PHP component/library. Shares short strings between PHP processes on the same machine, using System V shared memory.

  • PHP

    webservco/middleware

    A PHP component/library. PSR-15 middleware for routing, dispatching to module handlers, exception handling, request logging and choosing the response format.

  • PHP

    webservco/paypal

    A PHP component/library. Takes payment for an order through the PayPal REST API (Orders v2): create the order, send the customer to PayPal, then capture the payment.

  • PHP

    webservco/reflection

    A PHP component/library. Small reflection helpers for inspecting a class and its constructor parameters.

  • PHP

    webservco/route

    A PHP component/library. Loads a module's routes from a PHP file that maps route names to controller classes.

  • PHP

    webservco/session

    A PHP component/library. PHP sessions with cookie settings and lifetime taken from the configuration.

  • PHP

    webservco/stopwatch

    A PHP component/library. Lap timer for measuring how long each part of a request or script takes.

  • PHP

    webservco/view

    A PHP component/library. Views, PHP templates and renderers that turn a view into HTML, JSON or JSON:API.

  • PHP

    webservco/configuration-contract

    A PHP component.

    Abandoned! See webservco/configuration

  • PHP

    webservco/log-contract

    A PHP component.

    Abandoned! See webservco/log