Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP 8 Support #81

Open
marin246 opened this issue Feb 14, 2022 · 3 comments
Open

PHP 8 Support #81

marin246 opened this issue Feb 14, 2022 · 3 comments

Comments

@marin246
Copy link

is PHP8 support in the works? Thanks in advance!

@mad-briller
Copy link

#80

i've added this pr which seems to work fine in php8.1 using symfony 6 components
just waiting for the maintainer to merge it, although the repo seems like it's abandoned and might need to be forked

@Flynsarmy
Copy link

Flynsarmy commented Mar 11, 2022

I also submitted 2 PRs before noticing this repo may be abandoned so I've forked and implemented a bunch of improvements here https://github.com/Flynsarmy/image-optimizer

So far:

  • PHPStan level 6 compliance
  • PSR-12 coding standards
  • Latest version of Symfony components
  • Compatibility with svgo 2.8.0
  • Moved from TravisCI to Github Actions
  • Better documentation inside classes
  • Added a method to view which optimizers are installed on your system

My version of the package is only compatible with PHP 8.0+. If you're on an outdated PHP, use this repo instead.

@mad-briller
Copy link

yeah there is the spatie/image-optimizer library that i've moved to instead of this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants