steinhaug / libs
Page handling
v2.0.0
2023-12-02 21:47 UTC
Requires
- php: ^8.0
- ext-mbstring: *
- matthiasmullie/minify: ^1.3
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
LICENSE
This library is released under the MIT license.
Feel generous?
Buy me a beer, donate.