Get support for ericlbarnes/ci-minify
If you're new to LTH, please see our FAQ for more information on what it is we do.
Support Options
Unfortunately, there are currently no active helpers for this repository on the platform. Until they become available, we reccomend the following actions:
View Open IssuesTake a look to see if anyone else has experienced the same issue as you and if they managed to solve it.
Open an IssueMake sure to read any relevant guidelines for opening issues on this repo before posting a new issue.
Sponsor directlyCheck out the page and see if there are any options to sponsor this project or it's developers directly.
ericlbarnes/ci-minify
CodeIgniter Minify
Please note this project is no longer maintained.
The goal of this project is to provide a simple way to minify and combine js and css files inside a CodeIgniter application. Currently other systems exists but I wanted the compression to be part of my build process. So on deployments I compress and minify all the js and css. Then push off to s3 but this could also be useful to write them to a single file.
Installation
Upload the Minify folder to your libraries folder. This is built using CI2 packages and you must be using CI2.
Usage
Below is an overview of different usages:
Minify JS file
Minify CSS file
Minify String
Minify and combine an array of files. Useful if you need files to be in a certain order.
Minify and save a physical file
Minify an entire directory. The second param is an array of ignored files.
Optional Params
Common:
Combine dir:
Credits
fsencinas - (https://github.com/fsencinas) JS-Min - (https://github.com/rgrove/jsmin-php)
Our Mission
We want to make open source more sustainable. The entire platform was born from this and everything we do is in aid of this.
From the Blog
Interesting Articles
-
Generating income from open source
Jun 23 • 8 min read
-
2023 State of OSS
Apr 23 • 45 min read ★
-
A funding experiment...
Aug 19 • 10 min read
-
But You Said I could
Aug 19 • 2 min read
Thank you for checking out LiveTechHelper |
2025 © lth-dev incorporated
p-e622a1a2