PHPackages                             mecanik/zf3turbo - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. mecanik/zf3turbo

AbandonedArchivedLibrary[Framework](/categories/framework)

mecanik/zf3turbo
================

Zend Framework 3 Speed Optimization Module

1.0.0(6y ago)115Apache-2.0PHPPHP ^7.0

Since Nov 18Pushed 5y ago1 watchersCompare

[ Source](https://github.com/Mecanik/ZF3Turbo)[ Packagist](https://packagist.org/packages/mecanik/zf3turbo)[ Docs](https://github.com/Mecanik/ZF3Turbo)[ RSS](/packages/mecanik-zf3turbo/feed)WikiDiscussions master Synced yesterday

READMEChangelog (3)Dependencies (1)Versions (2)Used By (0)

ZF3Turbo - Zend Framework 3 Speed Optimization Module
=====================================================

[](#zf3turbo---zend-framework-3-speed-optimization-module)

[![Latest Stable Version](https://camo.githubusercontent.com/efc8d9157a14918003434ecfd4683f49cefa72ff6342d209e78f382683fb505d/68747470733a2f2f706f7365722e707567782e6f72672f6d6563616e696b2f7a6633747572626f2f762f737461626c65)](https://packagist.org/packages/mecanik/zf3turbo)[![License](https://camo.githubusercontent.com/7b65cea5bf71d64e82fb2fbd273e1a89350402ed84da2373fc8c57d23c1f9034/68747470733a2f2f706f7365722e707567782e6f72672f6d6563616e696b2f7a6633747572626f2f6c6963656e7365)](https://packagist.org/packages/mecanik/zf3turbo)[![Total Downloads](https://camo.githubusercontent.com/a4c4fa56219e48868b6c2ca9361421fedc526bd0cbe771ef0ac4be016da854a1/68747470733a2f2f706f7365722e707567782e6f72672f6d6563616e696b2f7a6633747572626f2f646f776e6c6f616473)](https://packagist.org/packages/mecanik/zf3turbo)

---

```
! Zend Framework is now Laminas.
! Please use my other package called Laminas Turbo Speed for Laminas project which is up to date.
```

### Zend Framework is now Laminas:

[](#zend-framework-is-now-laminas-httpswwwzendcomblogevolution-zend-framework-laminas-project)

### Laminas Turbo Speed:

[](#laminas-turbo-speed-httpsgithubcommecaniklaminas-turbo-speed)

---

Description
-----------

[](#description)

Module to supercharge your website performance by minifying/compressing HTML, inline content and pushing assets via HTTP/2. This module works for HTML5 type for now, do not use with XHTML.

### Current Features:

[](#current-features)

- Events registered via ListenerAggregateInterface
- Easy to switch on/off any specific feature or the whole module
- Ability to force https for all routes (via onRoute)
- Ability to minify inline javascript (removes comments, spaces)
- Ability to minify inline stylesheet (removes comments, spaces, CDATA, line breaks)
- Ability to minify HTML (removes comments, spaces, line breaks)
- Ability to push scripts via HTTP/2
- Ability to push stylesheets via HTTP/2
- Ability to push images via HTTP/2
- PHP 7 friendly (and required)
- Does not "break" your pages/content
- Superfast processing, no cpu overhead (regex patterns have been optimised to be very fast)
- No other dependencies (than Zend Framework 3)

### Planned Features:

[](#planned-features)

- Caching via Redis
- Caching via Memcached
- Caching via CDN (push/pull)
- Better HTML, JS, CSS minify
- More...

Installation
------------

[](#installation)

Installation is done via Composer:

```
composer require mecanik/zf3turbo

```

Module Configuration
--------------------

[](#module-configuration)

Create config/autoload/zf3turbo.global.php with the content:

```
