Skip to content

waiwaisew/php_minifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What the code will do

  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

About

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

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages