/compressed-output

Compressed/Optimize output of the laravel application source code

Primary LanguagePHPMIT LicenseMIT

Compressed Output

A Laravel package for compressing the output of the application code

USER MANUAL

STEPS:-

  1. Create a packages/souravmsh/ directory at the root of the Laravel application.
	mkdir packages
	cd packages
	mkdir souravmsh
  1. Clone the Repository from github.
git clone https://github.com/souravmsh/compressed-output.git
  1. Add package repositories to the application-root composer.json file
    "repositories": [
        {
            "type": "path",
            "url": "./packages/souravmsh/*",
            "options": {
                "symlink": true
            }
        }
    ]
  1. install package via comopser
composer require souravmsh/compressed-output:@dev

or delete the composer.lock file and run

composer install
  1. It will automatically add the package to your application
  2. To enable/disable the package, add the below variable to the .env file
COMPRESSED_OUTPUT_EANBLE=true/false