waiwaisew/minifier

A php minifier code that minify JavaScript, trained by Claude AI

Maintainers

Package info

github.com/waiwaisew/php_minifier

pkg:composer/waiwaisew/minifier

Statistics

Installs: 2

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0.7 2026-05-15 07:26 UTC

This package is auto-updated.

Last update: 2026-05-15 07:41:53 UTC


README

  1. This is PHP minifier code that only minify for JavaScript at this time.
  2. The code works even if JavaScript is hybrid with jQuery.

Installing

Run command below to install:

composer require waiwaisew/minifier

Run code into file by "require"/"include" etc.:

<?php 
require '/your_folder_name/vendor/autoload.php';

How to use

General

$min  = (new Waiwaisew/JsMinifier())->minify($javascript_text);

Minify without mangle:

$min  = (new Waiwaisew/JsMinifier())->minify($javascript_text, false);

Others

  1. This package is generated using Claude AI.
  2. The code will be improved base on what creator face time by time.
  3. Licence: MIT