steinhaug / libs
Page handling
Installs: 16
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/steinhaug/libs
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.