Download the PHP package hevelop/smart-bundling without Composer

On this page you can find all versions of the php package hevelop/smart-bundling. 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 smart-bundling

Hevelop Smart Bundling

This module changes the behaviour of the core JS bundling to generates bundles by pages (cms-index-index, catalog-category-view, catalog-product-view, etc).

Installation

Only need a refresher?

  1. Add the module to your project (and enable it!);
  2. Set the following config:
    • dev/js/enable_smart_bundling = 1
  3. I file js dovranno essere inseriti con l'apposita estensione.
    • se alcuni file js del progetto hanno il .min.js, andrà inserito anche quello.
  4. per i file .html, il path text!ui/template/{file_path} andrà sostituito con Magento_Ui/templates/{file_path}
  5. I file .js che vengono inclusi tramite xml nella sezione <head></head> non possono essere inseriti nello smart_bundling
  6. Per alcuni file js (es domReady.js) è necessario specificare il path corretto:
    • Il bundling segnalerà: domReady.js
    • Dovrà essere incluso in questo modo: <file>requirejs/domReady.js</file>
  7. Eliminare tutti i prefissi text! e utilizzare il path del modulo
  8. Per i .js inseriti in app/design/frontend/{VendorName}/{ModuleName}/web/js/ basterò inserire:
    • <file>js/{fileName}.js</file>
  9. E' possibile inserire anche file che nel branch attuale non ci sono, ma che poi facendo il merge in stg o prd ci saranno.
    • Se lo smart_bundling non trova il file, non lo inserisce.

Need a deeper guide? Read the Extended Guide

Configuration of the bundles

Now you have to configure the bundles. The raccomanded tool is https://github.com/magento/m2-devtools/blob/master/docs/panels/RequireJS.md


All versions of smart-bundling with dependencies

PHP Build Version
Package Version
Requires magento/framework Version ^101.0.0||^102.0.0||^103.0.0
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 hevelop/smart-bundling contains the following files

Loading the files please wait ....