Download the PHP package kkamkou/tp-minify without Composer
On this page you can find all versions of the php package kkamkou/tp-minify. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download kkamkou/tp-minify
More information about kkamkou/tp-minify
Files in kkamkou/tp-minify
Package tp-minify
Short Description Zend Framework 2 module which uses the Steve (mrclay) Clay's Minify library for styles and scripts obfuscation
License BSD-2-Clause
Homepage http://github.com/kkamkou/tp-minify
Informations about the package tp-minify
TpMinify - third-party module for the Zend Framework 2
This module uses the Steve (mrclay) Clay's Minify library for styles and scripts obfuscation.
Installation
Composer
- Install the Composer
- Add to a file, to the section
- Execute
- Add to the file of your project. Important thing is to place the "TpMinify" before any other modules.
-
Open (just an example) the and add this config stub:
- Put styles into the Head section:
Options
Source code with the description of variables. For example:
How-To
What to do with the folder?
a. Create a symlink to this module () and enable the Manual Rewriting.
b. Add the option if needed, which is described in the configuration file and here.
Is it possible to minify inline scripts?
Enable the HeadScript view helper:
I have two or more modules, how to deal with that?
- Put a common stuff into the
- And put a module-dependent stuff into the of each module
- Use prefixes for groups: and etc.
License
The MIT License (MIT)
Copyright (c) 2013-2014 Kanstantsin Kamkou
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.