You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
:construction: This is a work-in-progress. Inspired by [jsDelivr](https://www.jsdelivr.com/features#combine), it can be used to combine scripts passed to it via URI.
8
+
A simple PHP script to combine and minify multiple JS or CSS files passed via URI, inspired by [jsDelivr](https://www.jsdelivr.com/features#combine).
9
+
10
+
## Setup
11
+
12
+
1. Clone or unzip the files to a directory off of your web root. For example, `/combine/`. Change to that directory.
13
+
1.`composer install`
14
+
1. Rename `.env-sample` to `.env`. Change the `COMBINE_BASEDIR` to match your web root.
15
+
1. Configure your web server to rewrite URLs, as shown in the examples below. Change the `/combine/` and `/minify/` paths as desired.
0 commit comments