bluora/laravel-php-elixir-revision

This package is abandoned and no longer maintained. The author suggests using the hnhdigital-os/laravel-php-elixir-revision package instead.

Provides the revision functionality to Laravel PHP-Elixir

v1.0.3 2018-01-25 06:19 UTC

This package is not auto-updated.

Last update: 2022-02-01 13:04:39 UTC


README

__________.__          ___________.__  .__       .__        
\______   \  |__ ______\_   _____/|  | |__|__  __|__|______ 
 |     ___/  |  \\____ \|    __)_ |  | |  \  \/  /  \_  __ \
 |    |   |   Y  \  |_> >        \|  |_|  |>    <|  ||  | \/
 |____|   |___|  /   __/_______  /|____/__/__/\_ \__||__|   
               \/|__|          \/               \/          
                                             Revision Module

Provides the ability to revision specified folders and generate a manifest.

Revision

Provides revisioning of files in a specified folder location.

Options that are available:

  • hash - default is sha256
  • hash_length - default is no change to the hash string
  • minify - default is false.
  • minify_cache - default is true. Reduces secondary use by 30+ seconds.
  • php_manifest - default is false. Generates a php equivalent of the json revision file.
{SOURCE_FOLDER}:
    - {DESTINATION_FOLDER}
    - {REVISION_MANIFEST_FILE}
    - {QUERY_STRING_OPTIONS}
revision:
    PATH_PUBLIC_ASSETS:
        - PATH_PUBLIC_BUILD
        - PATH_PUBLIC_BUILD + /rev-manifest.json
        - hash_length=12&minify=true&php_manifest=true