Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
H

http_build_url

> 编程语言
Open source

Provides functionality for http_build_url() to projects without pecl_http.

198 stars0 likes1 views
WebsiteGitHub

About

Provides functionality for http_build_url() to projects without pecl_http.

http_build_url() for PHP

This package is deprecated and no longer maintained. Please move off it.

I wrote this in 2014 to provide http_build_url() without the pecl_http extension. PHP 8.5 now ships a built-in URI API that does the same job, so there's no reason to keep depending on this. Known bugs in this package, like joining a path onto a URL with a trailing slash stripping every "a" from it (#25), won't be fixed.

Replacing it on PHP 8.5+

…

On older PHP, combine parse_url() and http_build_query(), or use a URI library such as league/uri.

Released versions stay on Packagist, so existing installs keep working.

License

MIT. See LICENSE.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

PHP

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言