Skip to content
This repository was archived by the owner on May 3, 2026. It is now read-only.

EE 7.5 PHP 8.2 Compatibility#2

Open
micahkohne wants to merge 3 commits intotjdraper:masterfrom
micahkohne:master
Open

EE 7.5 PHP 8.2 Compatibility#2
micahkohne wants to merge 3 commits intotjdraper:masterfrom
micahkohne:master

Conversation

@micahkohne
Copy link
Copy Markdown

I've always been a big fan of this addon and wanted to get it working on my newer sites. I used Cursor/AI to get this working in EE 7.5 -- I have it running on a few of my sites and haven't run into any errors. But it hasn't been tested that extensively otherwise.

Remove /marksmin/vendor/* from .gitignore; ExpressionEngine deployments
via git had no vendor/ and Marksmin could not load Minify_HTML.

Add direct require fallback for Minify/HTML.php if autoload is absent.
Clarify RuntimeException message.

Made-with: Cursor
Guard TMPL access with ee()->has() instead of assuming it is always
registered during template_post_parse. Fall back to EE6+ hook metadata
(currentTemplateInfo) for group/name, and allow minification when the
template type is unknown only if output looks like HTML (DOCTYPE/html,
excluding XML declarations) so RSS/JSON-style output is not minified.

Made-with: Cursor
@tjdraper
Copy link
Copy Markdown
Owner

My career has taken me in a direction that is not related to EE. I tried, initially, to keep up with my EE add-ons. But, I finally threw in the towel.

You're quite welcome to fork this add-on or do anything you want with it. I need to archive this (and my other EE related repos) to indicate their stale status and that they won't be receiving updates in the future.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants