Download the PHP package maximilian-walter/typo3-jshrink without Composer

On this page you can find all versions of the php package maximilian-walter/typo3-jshrink. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package typo3-jshrink

JShrink for TYPO3

License Latest Stable Version Total Downloads

The TYPO3 core can compress CSS and JavaScript files to improve frontend-performance. Unlike CSS files the JavaScript files are only compressed with GZip and not minified. This extension integrates the popular library JShrink to add this feature also for JavaScript.

This extension aims to be as lightweight as possible. Hopefully the minification will one day be integrated into the core to make this extension obsolete.

It is no replacement for much more powerful extensions like Scriptmerger!

Compatibility

This extension uses a XClass to hijack the method and add the call to JShrink. This could break with every update of TYPO3, because this method is not defined as stable API. Please keep this in mind while your updating your instance.

If you have a better idea how JShrink could be integrated into the core, please drop me a line or create a pull request.

Currently supported versions: TYPO3 7.6.0 - 8.1.0 (newer versions should work, but are not tested yet)

Usage

Install the extension and make sure compression for JavaScript-files is activated via Typoscript:

Installing

Composer

Installing JShrink can be done through a variety of methods, although Composer is recommended.

The JShrink-library will be automatically installed as dependency.

TER

This extension can also be installed via TER. You have to search for the name "jshrink". If you do so, please make sure the class can be used.

Contribution

Feel free to add issues or pull requests on GitHub. Code changes should follow the Coding Guidelines of TYPO3.

License

This extension is licensed under the GNU General Public License, either version 2 of the License, or any later version.

For the full copyright and license information, please read the LICENSE.txt file that was distributed with this source code.

Attributions

The heavy lifting is done by the popular library JShrink - https://github.com/tedious/JShrink

The icon is based on Font Awesome by Dave Gandy - http://fontawesome.io

Thanks to all contributors for all your work on those great projects!


All versions of typo3-jshrink with dependencies

PHP Build Version
Package Version
Requires typo3/cms-core Version ^7.6 || ^8.0
tedivm/jshrink Version ^1.1
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package maximilian-walter/typo3-jshrink contains the following files

Loading the files please wait ....