Page handling

Installs: 16

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/steinhaug/libs

v2.0.0 2023-12-02 21:47 UTC

This package is auto-updated.

Last update: 2025-10-06 13:53:13 UTC


README

Core class for serving content to browser, uses GZIP compression.

VERSION

v2.0.0 - Added v2 class as steinhaug_libs, renamed v1 for steinhaug_libs_v1 v1.0.1 - PS4 file structure in place, added missing functions v1.0.0 - Initial state

USAGE

Syntax:

$swlib = new steinhaug_libs_v1;
$swlib->start_ob(false, true, 'gzip');
// page
$swlib->end_ob('text/html');  

See ./public_html/ for examples.

INSTALLATION

Install the composer package:

> composer require steinhaug/libs

Or download the latest release and include src/steinhaug/libs.php.

AUTHORS

Kim Steinhaug (@steinhaug)

LICENSE

This library is released under the MIT license.

Feel generous?

Buy me a beer, donate.