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

Add brotli extension #8022

Closed
KapitanOczywisty opened this issue Feb 2, 2022 · 3 comments
Closed

Add brotli extension #8022

KapitanOczywisty opened this issue Feb 2, 2022 · 3 comments

Comments

@KapitanOczywisty
Copy link

Description

Brotli encoding is firmly established successor to gzip, and from 2017 supported by every major browser, as well server side (apache, ngnix, nodejs). Even curl used in php can be compiled with Brotli. Adding Brotli extension to php should follow that.

There is 3rd party extension https://github.com/kjdev/php-ext-brotli , but it's not even listed in PECL. However I think it should be bundled with php anyway, as optional extension - at least for now. This would allow wide adoption of this encoding and integration within php (e.g. ob_brhandler, Phar::BR).

I don't have sufficient knowledge to make PR and I'm not willing to deal with RFC process, but I hope there is someone who will get excited about that idea and can make this happen. I'll offer any help I can give.

@remicollet
Copy link
Member

First you should be to ask @kjdev if he want to publish this extension to pecl (so opening an issue on this project)

Later, according to ext success and users feedback, can be propose for merge in php-src in a new major version (pecl extension will be available for older ones)

@cmb69
Copy link
Member

cmb69 commented Feb 7, 2022

I'm closing this per the comment above.

@Schiocco
Copy link

Brotli must be supported by PHP CURL as more website are using it now

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

No branches or pull requests

4 participants